Tatarinho
Tatarinho

Reputation: 784

Highlight RibbonButton after clicking

is there any chance to highlight RibbonButton after clicking and remove it after clicking again? Im using xaml and code behind event after clicking button.

Upvotes: 0

Views: 752

Answers (1)

lohikansun
lohikansun

Reputation: 31

Try using a RibbonToggleButton instead, it should have the behavior you're looking for. If you want to keep track of the state of the button you can set a binding on the isChecked property which will be true when the button is highlighted.

Upvotes: 3

Related Questions