This project has moved. For the latest updates, please go here.

AvalonDock Border of Floating window

Mar 4, 2015 at 2:13 PM
Hi,
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.
Developer
Mar 5, 2015 at 12:51 PM
Hi,

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 https://wpftoolkit.codeplex.com/workitem/21750 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