Guest User

Untitled

a guest
Jan 18th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <ToggleButton Checked="myprop_Checked" Unchecked="myprop__Unchecked" x:Name="myprop" Margin="-20,0,0,0" IsChecked="{Binding myprop, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" >
  2. <ToggleButton.IsEnabled>
  3. <MultiBinding Converter="{StaticResource isEnabledConv}">
  4. <Binding Path="prop1"/>
  5. <Binding Path="toggle2"/>
  6. <Binding Path="prop1" ElementName="IsEnabled"/>
  7. </MultiBinding>
  8. </ToggleButton.IsEnabled>
Add Comment
Please, Sign In to add comment