How can I set the font开发者_如何学C style of a Silverlight CheckBox to strike-through (sample text)? I use Expression Blend 4 and hoped it might be as easy as making the text bold or italic. But I didn't find a way so far. Alternative solutions for doing it in C# code are also welcome.
The only TextDecoration
supported on the phone is Underline
(see http://msdn.microsoft.com/en-us/library/system.windows.textdecorations(v=vs.95).aspx).
If you want to create a strike through effect you will need to draw a line/path through the text yourself.
精彩评论