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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the TabListContextMenu appearance in TabControlExt?

Platform: WPF |
Control: TabControlExt

In TabControlExt, TabListContextMenu helps to display all its TabItem’s and user can navigate to required TabItemExt using this option and its appearance can be customized using TabListContextMenuItemTemplate.


The following code demonstrates the same.


Code Example: [XAML]


<syncfusion:TabControlExt Name="tabControlExt" ShowTabListContextMenu="True"> 
                  <TextBlock VerticalAlignment="Center" Foreground="Red" FontStyle="Italic" x:Name="headerTextBlock" Text ="{Binding}"/>                
            <syncfusion:TabItemExt Name="tabItemExt1" Header="TabItemExt1" />
            <syncfusion:TabItemExt Name="tabItemExt2" Header="TabItemExt2" />
            <syncfusion:TabItemExt Name="tabItemExt3" Header="TabItemExt3" />
            <syncfusion:TabItemExt Name="tabItemExt4" Header="TabItemExt4" />
            <syncfusion:TabItemExt Name="tabItemExt5" Header="TabItemExt5" />
            <syncfusion:TabItemExt Name="tabItemExt6" Header="TabItemExt6" />
            <syncfusion:TabItemExt Name="tabItemExt7" Header="TabItemExt7" />
            <syncfusion:TabItemExt Name="tabItemExt8" Header="TabItemExt8" />
            <syncfusion:TabItemExt Name="tabItemExt9" Header="TabItemExt9" />
            <syncfusion:TabItemExt Name="tabItemExt10" Header="TabItemExt10" />
            <syncfusion:TabItemExt Name="tabItemExt11" Header="TabItemExt11" />
            <syncfusion:TabItemExt Name="tabItemExt12" Header="TabItemExt12" />
            <syncfusion:TabItemExt Name="tabItemExt13" Header="TabItemExt13" />
            <syncfusion:TabItemExt Name="tabItemExt14" Header="TabItemExt14" />
            <syncfusion:TabItemExt Name="tabItemExt15" Header="TabItemExt15" />
            <syncfusion:TabItemExt Name="tabItemExt16" Header="TabItemExt16" /> 



ContextMenu Item Customization



Sample: TabListContextMenu

2X faster development

The ultimate WPF UI toolkit to boost your development speed.
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.

Up arrow icon

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

Live Chat Icon For mobile