Table of Contents

Class DimFunc

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Represents a function Dim object that computes the dimension by executing the provided function.

public record DimFunc : Dim, IEqualityOperators<Dim, Dim, bool>, IEquatable<Dim>, IEquatable<DimFunc>
Inheritance
DimFunc
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

DimFunc(Func<int>)

Represents a function Dim object that computes the dimension by executing the provided function.

Properties

Fn

Gets the function that computes the dimension.

Methods

ToString()

Returns a string that represents the current object.