xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.91k stars 878 forks source link

How to style DocumentCloseButton #1736

Open ucyildirim opened 1 year ago

ucyildirim commented 1 year ago

Hi

How can i change DocumentCloseButton's style? Is there any template/style binding that i can do from DockingManager?

https://github.com/xceedsoftware/wpftoolkit/blob/ad07b4dc93ae978f9a27e98f3390bcca3b81026c/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Default.xaml#L884-L892

Best regards.

XceedBoucherS commented 1 year ago

Hi,

Currently, you can't change the DocumentCloseButton's style unless you redefine the main template of LayoutDocumentTabItem. What are your needs exactly ? Modify the content(image) or the button properties ? Because the Visibility is managed through Triggers in the template. Thank you.