Skip to main content
A newer version of this page is available. .

TreeListMultiSelection Members

Represents a collection of selected nodes for the Tree List control.

Constructors

Name Description
TreeListMultiSelection(TreeList) Creates a collection of selected nodes for a specific TreeList object.

Properties

Name Description
Count Gets the number of items (selected nodes) in this collection.
IsLockSelect Gets whether selection updates are prevented.
Item[Int32] Gets a TreeListNode object from the collection of selected nodes referenced by the specified index.

Methods

Name Description
Add(TreeListNode) Adds the specified node to the collection of selected nodes.
Add(IEnumerable) Selects the specified collection of nodes.
AddRemove(TreeListNode) Toggles the specified node between the selected and deselected states.
BeginSelect() Prevents selection updates until the TreeListMultiSelection.EndSelect method is called.
CancelSelect() Enables selection updates after the TreeListMultiSelection.BeginSelect method call, but doesn’t force an immediate update.
Clear() Clears the current selection.
Contains(TreeListNode) Specifies whether a specific node is in the collection of selected nodes.
EndSelect() Enables selection updates after calling the TreeListMultiSelection.BeginSelect method and forces an immediate update.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator() Returns an enumerator that iterates through the collection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(TreeListNode) Determines the index of a specific TreeListNode object in the collection of selected nodes.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(TreeListNode) Unselects the specified node, and removes it from the current collection.
RemoveAt(Int32) Removes the node at the specified index of the current collection, and unselects it.
SelectCell(TreeListNode, TreeListColumn) Selects the cell in the specified column of the specified node (row).
SelectCells(IEnumerable<TreeListNode>, TreeListColumn) Selects the cells in the specified column of the specified nodes (rows).
SelectNode(TreeListNode) Selects the specified node (row).
SelectNodes(IEnumerable<TreeListNode>) Selects the specified nodes (rows).
Set(TreeListNode) Removes all nodes from the collection of selected nodes and then adds a specific node to the collection.
Set(IEnumerable) Removes all nodes from the collection of selected nodes and then adds a specific group of nodes to the collection.
ToString() Returns a string that represents the current object. Inherited from Object.
UnselectAll() Unselects all nodes, and removes them from the current collection.
UnselectCell(TreeListNode, TreeListColumn) Unselects the cell in the specified column of the specified node (row).
UnselectNode(TreeListNode) Discards selection of the specified node.
UnselectNodes(IEnumerable<TreeListNode>, TreeListColumn) Unselects cells in the specified columns of the specified nodes (rows).
UnselectNodes(IEnumerable<TreeListNode>) Unselects the specified nodes (rows).
See Also