Skip to content

Class SelectionGroup

Definition

Namespace: StardewUI.Widgets
Assembly: StardewUI.dll

Provides a single selection key with change notifications.

public class SelectionGroup

Inheritance
Object ⇦ SelectionGroup

Remarks

Can be used to group together UI widgets so that only one at a time can be active, e.g. in a tab or radio group.

Members

Constructors

Name Description
SelectionGroup()

Properties

Name Description
Key The currently-selected key.

Events

Name Description
Change Raised when the Key changes.

Details

Constructors

SelectionGroup()

public SelectionGroup();

Properties

Key

The currently-selected key.

public string Key { get; set; }
Property Value

string


Events

Change

Raised when the Key changes.

public event System.EventHandler? Change;
Event Type

EventHandler