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.
Unfortunately, activation email could not send to your email. Please try again.

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

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

Article ID: Published Date: Last Revised Date: Platform: Control: Product Version:
3452 01/27/2015 01/27/2015 WPF TabControlExt 12.4.0.24
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.