This project has moved and is read-only. For the latest updates, please go here.

AvalonDock Border of Floating window

Mar 4, 2015 at 3:13 PM
For Avalondock how would would I control the border thickness of a floating window? Ideally I'd like to apply animation at certain time to the border of a floating window.
Mar 5, 2015 at 1:51 PM

From what I can see, the BorderThickness, BorderBrush and Background values are hardcoded in the LayoutDocumentFloatingWindowControl.

If you want to change them, you will need to modify the Template of LayoutDocumentFloatingWindowControl. You can find it in file Xceed.Wpf.AvalonDock/Themes/Generic.xaml, in the style for LayoutDocumentFloatingWindowControl. Look for "WindowBorder" and modify the BorderThickness, BorderBrush and/or Background.

You can also change it in LayoutDocumentFloatingWindowControl class, after OnApplyTemplate(). You can find this class in Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs.

The same thing happens for LayoutAnchorableFloatingWindowControl.

Issue has been created to modify the Background, BorderThickness and BorderBrush more easilly.
Marked as answer by tescoclubcard on 3/26/2015 at 7:23 AM