Table of Contents

Class PosPercent

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

Represents a position that is a percentage of the width or height of the SuperView.

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

PosPercent(int)

Represents a position that is a percentage of the width or height of the SuperView.

PosPercent(PosPercent)

Properties

EqualityContract
Percent

Gets the percentage of the width or height of the SuperView.

Methods

Deconstruct(out int)
Equals(object?)
Equals(Pos?)
Equals(PosPercent?)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

operator ==(PosPercent?, PosPercent?)
operator !=(PosPercent?, PosPercent?)