Reputation: 97
I am building a wpf ribbon application. When certain buttons are clicked on, I would like the background to remain "lit up" like when the mouse is over it. I don't want to change the default mouseover color, I just want to replicate it when the button is pressed for "modal" type commands. Is there a way to do this? In MFC programming it would be like adding the "BS_PUSHLIKE" style to the button where it remains lit while active. Thanks for any help you can provide.
Upvotes: 0
Views: 69
Reputation: 3404
I am not sure exactly what you are looking for, but I believe the equivalent of "BS_PUSHLIKE" in WPF is the ToggleButton control.
Upvotes: 1