Table of Contents

Class DimPercent

Namespace
Terminal.Gui
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.

Properties

Mode

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

Percentage

The percentage.

Methods

ToString()