Hello ActiPro
I want to simply bind to an Property in a Context. It will just runs great with a RibbonCheckBox or an ToggleButton (CustomControl). But it just happen nothing with a RibbonButton:
Neither of this worked:
Thank you for your Support
Ynas
I want to simply bind to an Property in a Context. It will just runs great with a RibbonCheckBox or an ToggleButton (CustomControl). But it just happen nothing with a RibbonButton:
Neither of this worked:
<ribbon:Button ImageSourceLarge="{StaticResource ImageSpellCheck}" Label="SpellCheck" IsChecked="{Binding IsSpellcheckEnabledP.Value}"/>
<ribbon:RibbonButton ImageSourceLarge="{StaticResource ImageSpellCheck}" Label="SpellCheck">
<ribbon:Button.CommandParameter>
<ribbon:CheckableCommandParameter IsChecked="{Binding IsSpellcheckEnabledP.Value}" />
</ribbon:Button.CommandParameter>
</ribbon:RibbonButton>
Ynas