CheckBox 的删除线字体样式
如何将 Silverlight CheckBox 的字体样式设置为删除线(示例文本)?我使用 Expression Blend 4,希望它能像将文本设为粗体或斜体一样简单。但到目前为止我还没有找到方法。也欢迎使用 C# 代码执行此操作的替代解决方案。
How can I set the font 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
手机上唯一支持的
TextDecoration
是Underline
(请参阅 http://msdn.microsoft.com/en-us/library/system.windows.textdecorations(v=vs.95).aspx)。如果您想创建删除线效果,您需要自己在文本中绘制一条线/路径。
The only
TextDecoration
supported on the phone isUnderline
(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.