We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the header of the TabItemExt in TabControlExt at runtime?

Platform: WPF |
Control: TabControlExt |
Published Date: January 27, 2015 |
Last Revised Date: January 27, 2015 |
Product Version: 12.4.0.24

In TabControlExt, you can customize the header of each TabItemExt by using its Header Template and also you can assign different template during the run time.

The following code example changes the Header template based on the “FlowDirection” of TabControlExt. It loads a HeaderTemplate with TextBlock containing the text Right and it loads a HeaderTemplate with TextBlock containing the text Left for FlowDirection to beRightToLeft” and “LeftToRight” respectively.

C#

The following screenshot displays the FlowDirection in LeftToRight.

Figure 1: FlowDirection in LeftToRight

The following screenshot displays the FlowDirection in RightToLeft.

Figure 2: FlowDirection in RightToLeft

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon