Bool : bool ux
Specifies the value that will be matched on as a boolean.
Compares a value with a set of constants, and activates/deactivates visual trees associated with those constants.
Match
(in conjunction with Case) is useful when you want to display one of a number of different visuals
based on a certain value. You can think of it like pattern matching and/or switch/case constructs from your
favorite programming language.
<JavaScript>
module.exports = {
active: "blue"
};
</JavaScript>
<Match Value="{active}">
<Case String="red">
<Rectangle Fill="#f00" Height="50" Width="50" />
</Case>
<Case String="blue">
<Rectangle Fill="#00f" Height="50" Width="50" />
</Case>
</Match>
Specifies the value that will be matched on as a boolean.
Specifies the value that will be matched on as an integer.
Creates a new Match
Specifies the value that will be matched on as a number.
Specifies the value that will be matched on as a string.
Specifies the value that will be matched on.
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.
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.
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