| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property Selected As Boolean | |
| C# | |
|---|---|
public virtual bool Selected {get; set;} | |
Setting the Selected state of a node will automatically update the UltraTree.SelectedNodes collection.
The foolowing sample code toggles the selection state of the active node.
| Visual Basic | Copy Code |
|---|---|
Imports Infragistics.Win.UltraWinTree | |
| C# | Copy Code |
|---|---|
using Infragistics.Win.UltraWinTree; | |
