The Silverlight program has been written for more than a year, with a step-by-step process full of harvest but neglect to accumulate and share. In this free time, the previously rewritten control styles are documented, easy to access, and hope to serve as a starting point. If you have written and used questions, you can send mail to zdp06623#163.com (#替换为 @) feedback and inquiries.
Control modified Effect
Control usage Considerations
The control is overridden by the system's own control TabControl, and the style imitates the Chorme tab. There are several points to note during use:
1. The first tab style differs from other tab styles, and you need to refer to the Firstgreentabitemstyle style and Greentabitemstyle separately.
2, because the original TabControl selection card sorting and hierarchical relationship a little problem (the original control does not have overlapping areas, there is no problem), you need to set a global behavior, Added a style to the App.xaml, and added a TabControlChangedBehavior.cs file to the project to change the ZIndex settings of each tab header after the control is clicked, in detail to view the source code, where you can also change the current page to add a tab without using the global behavior Event Settings ZIndex, detailed code is shown in TabControlChangedBehavior.cs the "Change ZIndex value method when tab toggle" node event.
Control style Source code
Silverlighttabcontrol.rar
Silverlight control style--tabcontrol