Back to Devexpress

TreeList.UnselectCell(TreeListNode, TreeListColumn) Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-dot-unselectcell-x28-devexpress-dot-xtratreelist-dot-nodes-dot-treelistnode-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-x29.md

latest3.0 KB
Original Source

TreeList.UnselectCell(TreeListNode, TreeListColumn) Method

Discards selection of the cell in the specified intersection.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public void UnselectCell(
    TreeListNode node,
    TreeListColumn column
)
vb
Public Sub UnselectCell(
    node As TreeListNode,
    column As TreeListColumn
)

Parameters

NameTypeDescription
nodeTreeListNode

A node in which to unselect the cell.

| | column | TreeListColumn |

A column in which to unselect the cell.

|

Remarks

The UnselectCell method discards the selection of the cell located at the intersection of the specified node (row) and column. To select cells, use the TreeList.SelectCell or TreeList.SelectCells method.

After the selection is changed, the TreeList.SelectionChanged event is raised.

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

UnselectCells

SelectCell(TreeListNode, TreeListColumn)

SelectCells

SelectionChanged

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace