Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListMultiSelection.Add(IEnumerable) Method

Selects the specified collection of nodes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.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