namespace Terminal.Gui; /// /// Describes what user actions are enabled for arranging a within it's . /// See . /// /// /// /// Sizing or moving a view is only possible if the is part of a and /// the relevant position and dimensions of the are independent of other SubViews /// /// [Flags] public enum ViewArrangement { /// /// The view can neither be moved nor resized. /// Fixed = 0, /// /// The view can be moved. /// Movable = 1, /// /// The left edge of the view can be resized. /// LeftResizable = 2, /// /// The right edge of the view can be resized. /// RightResizable = 4, /// /// The top edge of the view can be resized. /// /// /// This flag is mutually exclusive with . If both are set, takes /// precedence. /// TopResizable = 8, /// /// The bottom edge of the view can be resized. /// BottomResizable = 16, /// /// The view can be resized in any direction. /// /// /// If is also set, the top will not be resizable. /// Resizable = LeftResizable | RightResizable | TopResizable | BottomResizable } public partial class View { /// /// Gets or sets the user actions that are enabled for the view within it's . /// /// /// /// Sizing or moving a view is only possible if the is part of a and /// the relevant position and dimensions of the are independent of other SubViews /// /// public ViewArrangement Arrangement { get; set; } }