Table of Contents

Class DimPercent

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

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

public record DimPercent : Dim, IEqualityOperators<Dim, Dim, bool>, IEquatable<Dim>, IEquatable<DimPercent>
Inheritance
DimPercent
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 Dim class to create Dim objects instead.

Constructors

DimPercent(int, DimPercentMode)

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

DimPercent(DimPercent)

Properties

EqualityContract
Mode

Gets whether the dimension is computed using the View's position or GetContentSize ().

Percentage

The percentage.

Methods

Deconstruct(out int, out DimPercentMode)
Equals(object?)
Equals(Dim?)
Equals(DimPercent?)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

operator ==(DimPercent?, DimPercent?)
operator !=(DimPercent?, DimPercent?)