简体   繁体   English

样式WPF选项卡类似于Visual Studio选项卡

[英]Style WPF Tabs Like Visual Studio Tabs

In WPF is it possible to style the WPF TabControl to lool like those in Visual Studio? 在WPF中,是否可以将WPF TabControl设置为像Visual Studio中那样设置为lool?

Instead of this: (Normal Tabs) 而不是:(普通标签)

替代文字

I will prefer this: (Styled Tabs) 我更喜欢这个:(样式标签)

替代文字

It's definitely possible, through the use of a ControlTemplate. 通过使用ControlTemplate,这绝对是可能的。 See this MSDN entry for an example of a TabControl ControlTemplate. 有关TabControl ControlTemplate的示例,请参阅此MSDN条目 You can use this as a starting point. 您可以将此作为起点。 Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM