Skip to content

StardewUI.Layout Namespace

Classes

Name Description
AlignmentExtensions Common helpers for Alignment.
Bounds A bounding rectangle using floating-point dimensions.
DirtyTracker<T> Convenience class for tracking properties that have changed, i.e. for layout dirty checking.
DirtyTrackingList<T> List wrapper that tracks whether changes have been made.
Edges Describes a set of edge dimensions, e.g. for margin or padding.
FloatingElement Provides independent layout for an IView relative to its parent.
FloatingPosition Describes the position of a FloatingElement.
NineGridPlacement Model for content placement along a nine-segment grid, i.e. all possible combinations of horizontal and vertical Alignment.
NineGridPlacement.Neighbor Represents an adjacent placement; the result of GetNeighbors(Boolean).
OffsettableExtensions Extensions for the IOffsettable<T> interface.
OrientationExtensions Helpers for working with Orientation.

Structs

Name Description
LayoutParameters Layout parameters for an IView.
Length Specifies how to calculate the length of a single dimension (width or height).

Interfaces

Name Description
IFloatContainer Provides access to a UI element's floating elements.
IOffsettable<T> Provides a method to clone the current instance with an offset applied.
IPageable Signals that an IView implements paging controls.
ITabbable Signals that an IView implements tab controls.

Enums

Name Description
Alignment Specifies an alignment (horizontal or vertical) for text or other layout.
LengthType Types of length calculation available for a Length.
Orientation Available orientation directions for views such as Lane.
Visibility Controls the visibility of an IView.