diff --git a/source/Components/AvalonDock/DockingManager.cs b/source/Components/AvalonDock/DockingManager.cs index ee78d7dd..7d72eff0 100644 --- a/source/Components/AvalonDock/DockingManager.cs +++ b/source/Components/AvalonDock/DockingManager.cs @@ -1301,7 +1301,8 @@ public StyleSelector LayoutItemContainerStyleSelector public static readonly DependencyProperty ShowSystemMenuProperty = DependencyProperty.Register(nameof(ShowSystemMenu), typeof(bool), typeof(DockingManager), new FrameworkPropertyMetadata(true)); - /// Gets or sets the property. This dependency property indicates if floating windows should show the system menu when a custom context menu is not defined. + /// Gets/sets whether floating windows should show the system menu when a custom context menu is not defined. + [Bindable(true), Description("Gets/sets whether floating windows should show the system menu when a custom context menu is not defined."), Category("FloatingWindow")] public bool ShowSystemMenu { get => (bool)GetValue(ShowSystemMenuProperty); @@ -1345,9 +1346,10 @@ public bool AllowMixedOrientation #region AutoWindowSizeWhenOpened /// - /// Gets/sets the float window is auto size when dragged out + /// Gets/sets whether the floating window size of a is auto sized when it is dragged out. + /// If true the MinHeight and MinWidth of the content will be used together with the margins to determine the initial size of the floating window. /// - [Bindable(true), Description("Gets/sets the floating window is auto size when floated out"), Category("FloatingWindow")] + [Bindable(true), Description("Gets/sets whether the floating window is auto sized when it is dragged out."), Category("FloatingWindow")] public bool AutoWindowSizeWhenOpened { get { return (bool)GetValue(AutoWindowSizeWhenOpenedProperty); } diff --git a/source/TestApp/App.xaml b/source/TestApp/App.xaml index 687deff4..2150b369 100644 --- a/source/TestApp/App.xaml +++ b/source/TestApp/App.xaml @@ -1,32 +1,26 @@  - - - - - + x:Class="TestApp.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + ShutdownMode="OnMainWindowClose" + StartupUri="MainWindow.xaml"> + + +