2
0
Эх сурвалжийг харах

Added ViewArrangement enum, which Toplevel now uses

Tig Kindel 1 жил өмнө
parent
commit
e7bd7bd8fa

+ 8 - 1
Terminal.Gui/View/ViewArrangement.cs

@@ -2,7 +2,14 @@
 
 
 /// <summary>
 /// <summary>
 ///     Describes what user actions are enabled for arranging a <see cref="View"/> within it's <see cref="View.SuperView"/>.
 ///     Describes what user actions are enabled for arranging a <see cref="View"/> within it's <see cref="View.SuperView"/>.
+///     See <see cref="View.Arrangement"/>.
 /// </summary>
 /// </summary>
+/// <remarks>
+/// <para>
+///     Sizing or moving a view is only possible if the <see cref="View"/> is part of a <see cref="View.SuperView"/> and
+///     the relevant position and dimensions of the <see cref="View"/> are independent of other SubViews
+/// </para>
+/// </remarks>
 [Flags]
 [Flags]
 public enum ViewArrangement
 public enum ViewArrangement
 {
 {
@@ -12,7 +19,7 @@ public enum ViewArrangement
     Fixed = 0,
     Fixed = 0,
 
 
     /// <summary>
     /// <summary>
-    ///     The view can be moved within it's <see cref="SuperView"/>.
+    ///     The view can be moved.
     /// </summary>
     /// </summary>
     Movable = 1,
     Movable = 1,