Table of Contents

Class PosAnchorEnd

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Represents a position anchored to the end (right side or bottom).

public record PosAnchorEnd : Pos, IEquatable<Pos>, IEquatable<PosAnchorEnd>
Inheritance
PosAnchorEnd
Implements
Inherited Members

Remarks

This is a low-level API that is typically used internally by the layout system. Use the various static methods on the Pos class to create Pos objects instead.

Constructors

PosAnchorEnd()

Constructs a new position anchored to the end (right side or bottom) of the SuperView, minus the respective dimension of the View. This is equivalent to using PosAnchorEnd(int), with an offset equivalent to the View's respective dimension.

PosAnchorEnd(int)

Constructs a new position anchored to the end (right side or bottom) of the SuperView,

Properties

Offset

Gets the offset of the position from the right/bottom.

UseDimForOffset

If true, the offset is the width of the view, if false, the offset is the offset value.

Methods

ToString()

Returns a string that represents the current object.