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">
+
+
+
+
+
diff --git a/source/TestApp/MainWindow.xaml.cs b/source/TestApp/MainWindow.xaml.cs
index e03df2d2..d3e2f884 100644
--- a/source/TestApp/MainWindow.xaml.cs
+++ b/source/TestApp/MainWindow.xaml.cs
@@ -246,8 +246,8 @@ private void OnShowHeader(object sender, RoutedEventArgs e)
///
/// Method create a new anchorable window to test whether a floating window will auto-adjust its size to the
- /// containing control. See SetWindowSizeWhenOpened property in
- /// and App.xaml in this demo App for more details.
+ /// containing control. See dependency property.
+ /// and TestUserControl in this demo App for more details.
///
///
///
diff --git a/source/TestApp/TestUserControl.xaml b/source/TestApp/TestUserControl.xaml
index a156d566..50ca7e3a 100644
--- a/source/TestApp/TestUserControl.xaml
+++ b/source/TestApp/TestUserControl.xaml
@@ -20,7 +20,8 @@
This Comtrol demos an Auto-Size FloatingWindow
This content can initially be sized to the content of a containing user control when dragging
- the LayoutAnchorable into floating mode using the SetWindowSizeWhenOpened property (see App.xaml of this demo app).
+ the LayoutAnchorable into floating mode using the DockingManager's AutoWindowSizeWhenOpened
+ dependency property.