AlternateRoot Constructor uno
Creates a new AlternateRoot
Allows placing a node in a different place in the UX tree than the location of this behavior, while keeping the data context from this behavior.
<Panel ux:Class="MyPage">
<Visual ux:Dependency="navBar" />
<string ux:Property="Content" />
<float4 ux:Property="Highlight" />
<Text Alignment="Center" Value="{ReadProperty Content}" />
<WhileActive>
<AlternateRoot ParentNode="navBar">
<Rectangle Color="{ReadProperty Highlight}" />
</AlternateRoot>
</WhileActive>
</Panel>
<ClientPanel>
<Panel ux:Name="navBar" Dock="Top" Height="56" />
<PageControl>
<MyPage Content="Page 1" Highlight="#18f" navBar="navBar" />
<MyPage Content="Page 2" Highlight="#1f8" navBar="navBar" />
</PageControl>
</ClientPanel>
Creates a new AlternateRoot
Whether this behavior is enabled.
The node that will be inserted into the ParentNode
The visual that will be the actual parent of the Visual.
Whether to preserve the data context from the AlternateRoot.
Deprecated, for backwards compatibility. Use Node
instead.
The list of bindings belonging to this node.
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.
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.
Whether rooting for this node is completed. Returns false if unrooting has started.
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.
Run-time name of the node. This property is automatically set using the ux:Name attribute.
Returns the next sibling node of the given type.
The parent Visual of this node. Will return null if the node is not rooted.
Returns the next sibling node of the given type.
A linked list holding data for extrinsic properties.
hide
hide
Interface for objects that can have a script engine representation
hide