Table of Contents

Class PosFunc

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

Represents a position that is computed by executing a function that returns an integer position.

public record PosFunc : Pos, IEquatable<Pos>, IEquatable<PosFunc>
Inheritance
PosFunc
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

PosFunc(Func<View?, int>, View?)

Represents a position that is computed by executing a function that returns an integer position.

Properties

Fn

Gets the function that computes the position.

View

Gets the passed view that the position is based on.

Methods

ToString()

Returns a string that represents the current object.