这应该很简单,但我被卡住了!如何在代码中创建以下多重绑定并将其应用于给定的行定义:
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition>
<RowDefinition.Height>
<MultiBinding Converter="{StaticResource MyMultiConverter}">
<Binding ElementName="obj1" Path="x"/>
<Binding ElementName="obj2" Path="y"/>
</MultiBinding>
</RowDefinition.Height>
</RowDefinition>
</Grid.RowDefinitions>
谢谢!