【发布时间】:2013-03-11 09:32:09
【问题描述】:
如何重写以下 XAML:
<Button Command="{Binding NewSalesOrderCommand}" Content="New Order" Width="50" />
这样我就可以在 Command 对象上使用附加属性:
<Button Content="New Order" Width="50">
<Button.Command local:MyClass.MyAttachedProp="1">
...
</Button.Command>
</Button>
表示代替 3 个点出现的是什么?
【问题讨论】:
标签: wpf xaml attached-properties