Skip to content

StardewUI Namespace

Classes

Name Description
DirectionExtensions Helpers for working with Direction.
DuckPropertyAttribute Specifies a property name to use for duck-type conversions, if different from the member name.
DuckTypeAttribute Specifies that a type is eligible for duck-type conversions in data bindings.
Parsers Utilities for parsing third-party types, generally related to MonoGame/XNA.
Tags Typesafe heterogeneous container for associating arbitrary data with a view or other UI object.
UI Entry point for Stardew UI. Must be called from Entry(IModHelper).
UiViewport Utilities relating to the game's UI viewport.
View Base class for typical widgets wanting to implement IView.
ViewChild Provides information about a view that is the child of another view. Used for interactions.
ViewExtensions Commonly-used extensions for the IView interface and related types.
ViewMenu Generic menu implementation based on a root IView.

Interfaces

Name Description
IView Represents some arbitrary UI element or layout.

Enums

Name Description
Direction Cardinal directions used in UI, matching gamepad stick/button directions for navigation.
MenuActivationMode Available behaviors for opening a ViewMenu.
MenuCloseBehavior Available behaviors for closing a ViewMenu.