Link to home
Start Free TrialLog in
Avatar of deleyd
deleydFlag for United States of America

asked on

WPF ToggleButton strikethrough text when IsClicked

In WPF XAML I want to make a ToggleButton which when pressed adds a strikethrough to the text.

I've seen:
Changing the Text on a ToggleButton When a User Clicks On It
https://wpf.2000things.com/tag/togglebutton/

Problem is Strikethrough needs to be applied to the underlying TextBlock, not the Togglebutton.
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial