Skip to content

Enum BindingDirection

Definition

Namespace: StardewUI.Framework.Binding
Assembly: StardewUI.dll

The direction of data flow in a data binding.

public enum BindingDirection

Inheritance
ObjectValueTypeEnum ⇦ BindingDirection

Fields

Name Value Description
In 0 An input binding, i.e. the view receives its value from the context.
Out 1 An output binding, i.e. the view publishes its value to the context.
InOut 2 A binding that is both input and output, i.e. the view receives its value from the context and also publishes its value to the context, depending on where the most recent change occurred.