Skip to main content

TreeListMultiSelection.UnselectCell(TreeListNode, TreeListColumn) Method

Unselects the cell in the specified column of the specified node (row).

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public void UnselectCell(
    TreeListNode node,
    TreeListColumn column
)

Parameters

Name Type Description
node TreeListNode

A node in which to unselect the cell.

column TreeListColumn

A column in which to unselect the cell.

Remarks

The UnselectCell method unselects the cell located at the intersection of the specified node (row) and column. To select a cell, use the TreeListMultiSelection.SelectCell method.

After the selection changes, the TreeList.SelectionChanged event raises.

Note

The UnselectCell method is not in effect if multiple cell selection is disabled. This mode can be enabled by setting the TreeListOptionsSelection.MultiSelect property to true and the TreeListOptionsSelection.MultiSelectMode property to CellSelect.

See Also