Table of Contents

Class DimFunc

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

Represents a function Dim object that computes the dimension based on the passed view and 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<View?, int>, View?)

Represents a function Dim object that computes the dimension based on the passed view and by executing the provided function.

Properties

Fn

Gets the function that computes the dimension.

View

Gets the passed view that the dimension is based on.

Methods

ToString()

Returns a string that represents the current object.