Posted 16 years ago
by Bryan Livingston
I've got the following control which is working fine:
I'm tring to change it over to a button to make a small bold button, but I can't seem to bind to IsChecked. Neither of these two work:
<ribbon:CheckBox Label="Bold" IsChecked="{Binding Path=Text.Bold, Mode=TwoWay}" />
<ribbon:Button Label="Bold" IsChecked="{Binding Path=Text.Bold, Mode=TwoWay}" />
<ribbon:Button Label="Bold" >
<ribbon:Button.CommandParameter>
<ribbon:CheckableCommandParameter IsChecked="{Binding Path=Text.Bold, Mode=TwoWay}" />
</ribbon:Button.CommandParameter>
</ribbon:Button>