Articles in this section
Category / Section

How to rotate the text of the header in WPF Tab Control?

1 min read

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.

TabstripPlacement to the Left and RotateTextWhenVertical set to false

Figure 1: TabstripPlacement to the Left and RotateTextWhenVertical set to false

TabstripPlacement to the Left and RotateTextWhenVertical set to true

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 forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied