文本块样式切换!
我有一种样式,当鼠标悬停在文本块上时会在文本块上加下划线...单击它时我需要将其字体粗细更改为粗体(选定).. 有什么想法吗?
I have a style which underlines the textblock when it is mouseovered... How ever i need when it is clicked to change its font weight to bold(selected)..
any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
dnr3 所说的代码示例,一个模板化的 ToggleButton
然后“TextBlock”ToggleButton 可以使用它
Code example of what dnr3 said, a templated ToggleButton
And then the "TextBlock" ToggleButton can use this with