Table of Contents

Class PosCombine

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

Represents a position that is a combination of two other positions.

public record PosCombine : Pos, IEquatable<Pos>, IEquatable<PosCombine>
Inheritance
PosCombine
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 Pos class to create Pos objects instead.

Constructors

PosCombine(AddOrSubtract, Pos, Pos)

Represents a position that is a combination of two other positions.

PosCombine(PosCombine)

Properties

Add

Gets whether the two positions are added or subtracted.

EqualityContract
Left

Gets the left position.

Right

Gets the right position.

Methods

Deconstruct(out AddOrSubtract, out Pos, out Pos)
Equals(object?)
Equals(Pos?)
Equals(PosCombine?)
GetHashCode()
HasInner<TPos>(out TPos)

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

PrintMembers(StringBuilder)
ToString()

Operators

operator ==(PosCombine?, PosCombine?)
operator !=(PosCombine?, PosCombine?)