How to use Binding like proxy?
问题 <Setter Property="IsChecked"> <Setter.Value> <MultiBinding> <!-- Get value for property --> <Binding Path="IsPressed" RelativeSource="{RelativeSource Self}" Mode="OneWay"/> <!-- Set value to ViewModel's property --> <Binding Path="Shift" Mode="OneWayToSource"/> </MultiBinding> </Setter.Value> </Setter> I need to use 2 bindings for property: one to get value for property and one to set value to ViewModel's property. How I can realize this scenario? 回答1: You can create a couple of attached