Table of Contents

Class DimCombine

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

Represents a dimension that is a combination of two other dimensions.

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

DimCombine(AddOrSubtract, Dim, Dim)

Represents a dimension that is a combination of two other dimensions.

DimCombine(DimCombine)

Properties

Add

Gets whether the two dimensions are added or subtracted.

EqualityContract
Left

Gets the left dimension.

Right

Gets the right dimension.

Methods

Deconstruct(out AddOrSubtract, out Dim, out Dim)
Equals(object?)
Equals(Dim?)
Equals(DimCombine?)
GetHashCode()
HasInner<TDim>(out TDim)

Searches nested Dim objects for the specified type. Override in subclasses that contain other Dim objects to enable Has<TDim>(out TDim) to find nested types.

PrintMembers(StringBuilder)
ToString()

Operators

operator ==(DimCombine?, DimCombine?)
operator !=(DimCombine?, DimCombine?)