且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么所有控件都是粗体?

更新时间:2023-02-10 07:41:59

您正在尝试执行非常基本的样式,这无法帮助您区分诸如 TextItem 的标题之类的细节。要解决这些问题,你需要了解一般的WPF模板和样式主题。



你可以从这里开始: https://msdn.microsoft.com/en-us/library/ms745683%28v=vs.110%29.aspx [ ^ ]。



请参阅专门讨论 TabItem 样式的文章:http://www.wpf-tutorial.com/tabcontrol/styling-the-tabitems [ ^ ]。



-SA
You are trying to do very basic styling which cannot help you to distinguish such detail as the title of TextItem. To solve such problems, you need to understand general WPF templating and styling topics.

You can start here: https://msdn.microsoft.com/en-us/library/ms745683%28v=vs.110%29.aspx[^].

Please see this article specifically devoted to the TabItem styling: http://www.wpf-tutorial.com/tabcontrol/styling-the-tabitems[^].

—SA