Avatar of deleyd
deleyd
Flag 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.
* WPFC#

Avatar of undefined
Last Comment
Chris Stanyon

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Chris Stanyon

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck