Articles in this section
Category / Section

How to set Background color for TabPanel in WPF TabControlExt?

2 mins read

TabPanel Background color can be changed by setting TabPanelBackground property of TabcontrolExt.

The same has been explained in the following code snippet:


//Code Explains how to set background color in tabpanel for TabcontrolExt
xmlns:syncfusion="" x:Class="TabcontrolTxt1.MainWindow"
Title="MainWindow" Height="350" Width="525">
<syncfusion:TabControlExt Name="Tabcontrol" TabPanelBackground="Green">
<syncfusion:TabItemExt Name="tab1" Header="Tab1"> </syncfusion:TabItemExt>
<syncfusion:TabItemExt Header="Tab2" ></syncfusion:TabItemExt>
<syncfusion:TabItemExt Header="Tab3" ></syncfusion:TabItemExt>
<syncfusion:TabItemExt Header="Tab4" ></syncfusion:TabItemExt>



//Code Explains how to set background color in tabpanel for TabcontrolExt
namespace TabcontrolTxt1
public partial class MainWindow : Window
public MainWindow()
Tabcontrol.TabPanelBackground = Brushes.OrangeRed;





I hope you enjoyed learning about how to set Background color for TabPanel in WPF TabControlExt.

You can refer to our WPF TabControl feature tour page to know about its other groundbreaking feature representations. You can also explore our WPF TabControl 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 forums, Direct-Trac, or feedback portal. We are always happy to assist you!

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