How to customize the active tab header in WPF DockingManager?
ActiveTabHeader can be customized by changing TabItemSelectedBackground and TabItemSelectedForeground in DocumentTabControlStyle of WPF DockingManager.
XAML
//How to customize the ActiveTabheader in DockingManager <Window x:Class="ActiveHeader_Customize.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" Title="MainWindow" Height="350" Width="525"> <Grid> <syncfusion:DockingManager x:Name="docking" UseDocumentContainer="True"> <syncfusion:DockingManager.DocumentTabControlStyle> <Style TargetType="{x:Type syncfusion:DocumentTabControl}"> <Setter Property="TabItemSelectedForeground" Value="Red"> </Setter> <Setter Property="TabItemSelectedBackground" Value="GreenYellow"/> </Style> </syncfusion:DockingManager.DocumentTabControlStyle> <ContentControl syncfusion:DockingManager.Header="Document 3" syncfusion:DockingManager.State="Document"/> <ContentControl syncfusion:DockingManager.Header="Document 2" syncfusion:DockingManager.State="Document"/> <ContentControl syncfusion:DockingManager.Header="Document 1" syncfusion:DockingManager.State="Document"/> </syncfusion:DockingManager> </Grid> </Window>
Conclusion
I hope you enjoyed learning about how to customize active tab header in DockingManager.
You can refer to our WPF DockingManager feature tour page to know about its other groundbreaking feature representations and documentation. You can also explore our WPF DockingManage example 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!