Visual Basic (Declaration) | |
---|---|
Public Property SelectedNode As Node |
C# | |
---|---|
public Node SelectedNode {get; set;} |
Property Value
This may be null, if SelectedPart is not a Node or if it is a Group.Changing this value will make the previous value (if any) be not Part.IsSelected, and will select the new value.
Although Group inherits from Node, this property will be null if the selected part is a Group in order to make it easier to data-bind parts of your user interface differently for groups than for regular nodes.