Table of Contents

Enum ViewArrangement

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Describes what user actions are enabled for arranging a View within it's SuperView . See Arrangement.

[Flags]
public enum ViewArrangement

Fields

BottomResizable = 16

The bottom edge of the view can be resized.

Fixed = 0

The view can neither be moved nor resized.

LeftResizable = 2

The left edge of the view can be resized.

Movable = 1

The view can be moved.

Overlapped = 32

The view overlaps other views (the order of Subviews dicates the Z-order). If this flag is not set the view will operate in tiled mode.

When set, Tab and Shift-Tab will be constrained to the subviews of the view (normally, they will navigate to the next/prev view in the next/prev Tabindex). Use Ctrl-Tab (Ctrl-PageDown) / Ctrl-Shift-Tab (Ctrl-PageUp) to move between overlapped views.

Resizable = LeftResizable | RightResizable | TopResizable | BottomResizable

The view can be resized in any direction.

If Movable is also set, the top will not be resizable.

RightResizable = 4

The right edge of the view can be resized.

TopResizable = 8

The top edge of the view can be resized.

This flag is mutually exclusive with Movable. If both are set, Movable takes precedence.

Remarks

See the View Arrangement Deep Dive for more information: https://gui-cs.github.io/Terminal.GuiV2Docs/docs/arrangement.html

Sizing or moving a view is only possible if the View is part of a SuperView and the relevant position and dimensions of the View are independent of other SubViews