Hi Fahad,
You can change the style of Close button by accessing the
button. Please find the code snippets and attached sample for your reference
CodeSnippets
private void TabControl1_Loaded(object sender,
RoutedEventArgs e)
{
TabPanelAdv panel =
VisualUtils.FindDescendant(TabControl1, "TabPanelAdv") as
TabPanelAdv;
Button button =
panel.Template.FindName("PART_CloseButton",panel) as Button;
button.Style =
this.TryFindResource("TabScrollingButton1") as Style;
}
Regards,
Gokul T
Attachment:
TabControlExtButtonStyle_ff2d27d2.zip