Skip to content

Class NineGridPlacement.Neighbor

Definition

Namespace: StardewUI.Layout
Assembly: StardewUI.dll

Represents an adjacent placement; the result of GetNeighbors(Boolean).

public record NineGridPlacement.Neighbor : 
    IEquatable<StardewUI.Layout.NineGridPlacement.Neighbor>

Inheritance
Object ⇦ Neighbor

Implements
IEquatable<Neighbor>

Members

Constructors

Name Description
Neighbor(Direction, NineGridPlacement) Represents an adjacent placement; the result of GetNeighbors(Boolean).

Properties

Name Description
Direction The direction of traversal for this neighbor.
EqualityContract
Placement The neighboring placement.

Details

Constructors

Neighbor(Direction, NineGridPlacement)

Represents an adjacent placement; the result of GetNeighbors(Boolean).

public Neighbor(StardewUI.Direction Direction, StardewUI.Layout.NineGridPlacement Placement);
Parameters

Direction   Direction
The direction of traversal for this neighbor.

Placement   NineGridPlacement
The neighboring placement.


Properties

Direction

The direction of traversal for this neighbor.

public StardewUI.Direction Direction { get; set; }
Property Value

Direction


EqualityContract

protected System.Type EqualityContract { get; }
Property Value

Type


Placement

The neighboring placement.

public StardewUI.Layout.NineGridPlacement Placement { get; set; }
Property Value

NineGridPlacement