【发布时间】:2014-06-07 04:35:38
【问题描述】:
我有一个具有 Message 属性的 WPF 控件。
我目前有这个:
<dxlc:LayoutItem >
<local:Indicator Message="{Binding PropertyOne}" />
</dxlc:LayoutItem>
但我需要将 Message 属性绑定到两个属性。
显然不能这样做,但这可以帮助解释我想要什么:
<dxlc:LayoutItem >
<local:Indicator Message="{Binding PropertyOne && Binding PropertyTwo}" />
</dxlc:LayoutItem>
【问题讨论】: