Table of Contents

Class DimAuto

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Represents a dimension that automatically sizes the view to fit all the view's Content, SubViews, and/or Text.

public record DimAuto : Dim, IEqualityOperators<Dim, Dim, bool>, IEquatable<Dim>, IEquatable<DimAuto>
Inheritance
DimAuto
Implements
Inherited Members

Remarks

See DimAutoStyle.

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

DimAuto(Dim?, Dim?, DimAutoStyle)

Represents a dimension that automatically sizes the view to fit all the view's Content, SubViews, and/or Text.

Properties

MaximumContentDim

The maximum dimension the View's ContentSize will be fit to.

MinimumContentDim

The minimum dimension the View's ContentSize will be constrained to.

Style

The DimAutoStyle of the DimAuto.

Methods

ToString()

Returns a string that represents the current object.