Skip to content

StardewUI.Framework.Binding Namespace

Classes

Name Description
AttributeBindingFactory A general IAttributeBindingFactory implementation using dependency injection for all resolution.
BackoffNodeDecorator A transparent binding node whose purpose is to throttle failed updates and log any errors.
BinaryCondition A condition based on the comparison of two values.
BindingContext Context, or scope, of a bound view, providing the backing data and tools for accessing its properties.
BindingDirectionExtensions Extension methods for the BindingDirection enum.
BindingException The exception that is thrown when an unrecoverable error happens during data binding for a view.
BoundViewDefaults View defaults that provide the current data-bound values for any bound attributes/properties and fall back to the original ("blank") view defaults for unbound properties.
ConditionalNode A structural node that only passes through its child node when some condition passes.
ConditionExtensions Extensions for the ICondition interface.
ContextUpdateTracker Tracks context instances that already had updates dispatched this frame, to prevent duplication.
ContextUpdatingNodeDecorator A transparent binding node that propagates Update(TimeSpan) ticks to an eligible context.
EventBindingFactory Reflection-based implementation of an IEventBindingFactory.
IncludedViewNode Quasi-structural node that loads its content from a shared game asset.
IViewNode.Child Child of an IViewNode, specifying the node data and the view outlet in which it should appear.
NegatedCondition Wrapper for an ICondition that negates its outcome.
ReflectionViewBinder An IViewBinder implementation using reflected view descriptors.
RepeaterNode A structural node that accepts a collection (IEnumerable<T>) valued attribute and repeats its inner elements with each child bound to a collection element, in the same order as the collection.
UnaryCondition A condition based on a single value that is convertible to a Boolean.
ViewBehaviors Wrapper for the entire set of behaviors attached to a single node/view.
ViewFactory A view factory based on per-tag delegates. Can be used as a base class for other view factories.
ViewNode Internal structure of a view node, encapsulating dependencies required for data binding and lazy creation/updates.
ViewNodeFactory Default in-game view engine.

Interfaces

Name Description
IAttributeBinding Binding instance for a single attribute on a single view.
IAttributeBindingFactory Service for creating IAttributeBinding instances for the individual attributes of a bound view.
ICondition A condition used in a ConditionalNode.
IEventBinding Binding instance for a single event on a single view.
IEventBindingFactory Service for creating IEventBinding instances for a view's events, and subscribing the handlers.
IViewBinder Service for creating view bindings and their dependencies.
IViewBinding Represents the binding state of an entire view; provides a single method to perform a once-per-frame update.
IViewFactory Factory for creating views from tags.
IViewNode Encapsulates a single bound node in a view tree.
IViewNodeFactory High-level abstraction for translating node trees into bound view trees.

Enums

Name Description
BindingDirection The direction of data flow in a data binding.