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

TreeListMultiSelection.Add(IEnumerable) Method

Selects the specified collection of nodes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

[Browsable(false)]
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Add(IEnumerable) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also