Dirkster99 / AvalonDock

Our own development branch of the well known WPF document docking library
Microsoft Public License
1.39k stars 319 forks source link

How to style DocumentCloseButton #420

Closed ucyildirim closed 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/Dirkster99/AvalonDock/blob/e9b337d18774970eae75a30ed93101102f8011cb/source/Components/AvalonDock/Themes/generic.xaml#L791-L799

Best regards

Dirkster99 commented 1 year ago

I am afraid there is no central style for this button. You will have to change the ControlTemplate of the element that contains the button.