Base class for behaviors that can instantiate templates from a source.

This class can not be directly instantiated or inherited because its constructors are internal. Use one of the provided derived classes instead: Each or Instance.

Location

Namespace
Fuse.Reactive
Package
Fuse.Reactive.Bindings 1.9.0

Interface of Instantiator

IdentityKey : string ux

If specified will reuse existing items if a new item is created that has the same id.

MatchKey : string ux

Name of the field on each data object which selects templates for the data objects.

TemplateKey : string ux

Specifies a template key that is used to look up in the TemplateSource to find an override of the default Templates provided in this object.

Inherited from Node

ContextParent : Node uno

The context parent is the semantic parent of this node. It is where non-UI structure should be resolved, like looking for the DataContext, a Navigation, or other semantic item.

FindNodeByName(Selector, Predicate<Node> (Node)) : Node uno

Finds the first node with a given name that satisfies the given acceptor. The serach algorithm works as follows: Nodes in the subtree are matched first, then it matches the nodes in the subtrees ofthe ancestor nodes by turn all the way to the root. If no matching node is found, the function returns null.

IsRootingStarted : bool uno

Whether rooting of this node has started. Note that even if this property returns true, rooting may not yet be completed for the node. See also IsRootingCompleted.

Name : Selector ux

Run-time name of the node. This property is automatically set using the ux:Name attribute.

OnRooted uno

If you override OnRooted you must call base.OnRooted() first in your derived class. No other processing should happen first, otherwise you might end up in an undefined state.

Inherited from PropertyObject

Inherited from object

Implemented Interfaces

ISubtreeDataProvider uno

When implemented by a Node, it indicates that the node provides data for its children. hide

IScriptObject uno

Interface for objects that can have a script engine representation