Infragistics2.Win.UltraWinTree.v8.1
SortByPosition Method
See Also 
Infragistics.Win.UltraWinTree Namespace > SelectedNodesCollection Class : SortByPosition Method

Sorts the SelectedNodes collection such that members appear in the same order that they do in the tree.

Syntax

Visual Basic (Declaration) 
Public Sub SortByPosition() 
C# 
public void SortByPosition()

Remarks

By default, the nodes in the UltraTree.SelectedNodes collection are in the order in which they were added to the collection. This generally means they are in the order in which they were UltraTreeNode.Selected.

Calling the SortByPosition method will sort the TreeNodes so that they are in the same order as they appear in the UltraTree.

See Also