From 382ed52f5f9fe3fabcfa262bbcf4204065ff0fd4 Mon Sep 17 00:00:00 2001 From: Dirkster99 Date: Sat, 5 Oct 2019 18:51:09 +0200 Subject: [PATCH] Added comments for DockWidth/DockHeight --- .../Layout/LayoutPositionableGroup.cs | 12 ++++++++++++ source/MLibTest/MLibTest/MainWindow.xaml | 3 ++- source/TestApp/MainWindow.xaml | 4 ++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs b/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs index 64968322..b572d668 100644 --- a/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs +++ b/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs @@ -232,6 +232,12 @@ public double CalculatedDockMinWidth() #region DockMinWidth private double _dockMinWidth = 25.0; + /// + /// Defines the smallest available width that can be applied to a deriving element. + /// + /// The system ensures the minimum width by blocking/limiting + /// movement when the user resizes a deriving element or resizes the main window. + /// public double DockMinWidth { get @@ -274,6 +280,12 @@ public double CalculatedDockMinHeight() #region DockMinHeight private double _dockMinHeight = 25.0; + /// + /// Defines the smallest available height that can be applied to a deriving element. + /// + /// The system ensures the minimum height by blocking/limiting + /// movement when the user resizes a deriving element or resizes the main window. + /// public double DockMinHeight { get diff --git a/source/MLibTest/MLibTest/MainWindow.xaml b/source/MLibTest/MLibTest/MainWindow.xaml index 4f512567..32fadf22 100644 --- a/source/MLibTest/MLibTest/MainWindow.xaml +++ b/source/MLibTest/MLibTest/MainWindow.xaml @@ -166,7 +166,8 @@ - + + diff --git a/source/TestApp/MainWindow.xaml b/source/TestApp/MainWindow.xaml index bae5d5f5..0f39f054 100644 --- a/source/TestApp/MainWindow.xaml +++ b/source/TestApp/MainWindow.xaml @@ -77,7 +77,7 @@ - + @@ -95,7 +95,7 @@ - +