Skip to main content

TreeListMultiSelection.Add(IEnumerable) Method

Selects the specified collection of nodes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public void Add(
    IEnumerable nodes
)

Parameters

Name Type Description
nodes IEnumerable

An object implementing the IEnumerable interface which holds the collection of nodes to be selected.

Remarks

Use this overload of Add when it is required to select several nodes stored in a collection at once. Note that the collection must support the IEnumerable interface.

The TreeListOptionsSelection.MultiSelect option must be set to true in order to allow multiple node selection. See the Node Selection topic for details.

See Also