How to rotate the text of the header in WPF Tab Control?
In WPF Tab Control, you can rotate the header text of the TabItemExt horizontally and vertically in the left and right TabStripPlacements.
Setting the RotateTextWhenVertical
Set the RotateTextWhenVertical=true for the TabControlExt to rotate the TabItemExt headers vertically.
Set the RotateTextWhenVertical=false for the TabControlExt to rotate the TabItemExt headers horizontally.
MainWindow.XAML
<sync:TabControlExt TabStripPlacement="Left" RotateTextWhenVertical="false"> <sync:TabItemExt Header="Item 1"/> <sync:TabItemExt Header="Item 2"/> <sync:TabItemExt Header="Item 3"/> <sync:TabItemExt Header="Item 4"/> <sync:TabItemExt Header="Item 5"/> </sync:TabControlExt>
The following screenshots display the horizontal and vertical header text of the TabItemExt.
Figure 1: TabstripPlacement to the Left and RotateTextWhenVertical set to false
Figure 2: TabstripPlacement to the Left and RotateTextWhenVertical set to true
Conclusion
I hope you enjoyed learning about how to rotate the text of the header in WPF Tab Control.
You can refer to our WPF Tab Control feature tour page to know about its other groundbreaking feature representations. You can also explore our WPF Tab Control documentation to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!