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.

DimFunc(DimFunc)

Properties

EqualityContract
Fn

Gets the function that computes the dimension.

View

Gets the passed view that the dimension is based on.

Methods

Deconstruct(out Func<View?, int>, out View?)
Equals(object?)
Equals(Dim?)
Equals(DimFunc?)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

operator ==(DimFunc?, DimFunc?)
operator !=(DimFunc?, DimFunc?)