Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ToggleButton Checked="myprop_Checked" Unchecked="myprop__Unchecked" x:Name="myprop" Margin="-20,0,0,0" IsChecked="{Binding myprop, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" >
- <ToggleButton.IsEnabled>
- <MultiBinding Converter="{StaticResource isEnabledConv}">
- <Binding Path="prop1"/>
- <Binding Path="toggle2"/>
- <Binding Path="prop1" ElementName="IsEnabled"/>
- </MultiBinding>
- </ToggleButton.IsEnabled>
Add Comment
Please, Sign In to add comment