TreeListView.MultiSelectMode Property
OBSOLETE
Use the SelectionMode property instead
Gets or sets whether multiple node/cell selection is enabled. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.1.dll
Declaration
[Obsolete("Use the DataControlBase.SelectionMode property instead")]
[Browsable(false)]
public TableViewSelectMode MultiSelectMode { get; set; }
Property Value
Type | Description |
---|---|
TableViewSelectMode | A TableViewSelectMode enumeration value that specifies the selection mode. |
Available values:
Name | Description |
---|---|
None | Multi-selection is disabled. |
Row | Allows selection of multiple rows. |
Cell | Allows selection of multiple cells. |
Remarks
Multiple row/cell selection isn’t allowed if the DataViewBase.NavigationStyle property is set to GridViewNavigationStyle.None and/or the MultiSelectMode property is set to TableViewSelectMode.None. To enable multiple node selection, set the MultiSelectMode property to TableViewSelectMode.Row. Multiple cell selection (block selection) is enabled by setting the MultiSelectMode property to TableViewSelectMode.Cell.
Note
Multiple row and cell selection doesn’t work in the Master-Detail mode. To learn more, see Master-Detail Mode Limitations.
To learn more, see Multiple Row Selection and Multiple Cell Selection.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MultiSelectMode property.
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.