Interface IViewBinding
Definition
Namespace: StardewUI.Framework.Binding
Assembly: StardewUI.dll
Represents the binding state of an entire view; provides a single method to perform a once-per-frame update.
Implements
IDisposable
Members
Properties
Name | Description |
---|---|
Attributes | The specific attributes bound for the attached view. |
Methods
Name | Description |
---|---|
Update() | Updates the view, including all bound attributes. |
Details
Properties
Attributes
The specific attributes bound for the attached view.
System.Collections.Generic.IReadOnlyList<StardewUI.Framework.Binding.IAttributeBinding> Attributes { get; }
Property Value
IReadOnlyList<IAttributeBinding>
Remarks
Per-attribute updates are encapsulated in the Update() method, so this is normally only needed for inspecting the state of bindings, e.g. to build a BoundViewDefaults instance.
Methods
Update()
Updates the view, including all bound attributes.
Returns
true
if any updates were performed; false
if there was no update due to having no underlying changes in the bound data or assets.