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 be “RightToLeft” and “LeftToRight” respectively.
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:|