TreeList.SelectCell(TreeListNode, TreeListColumn) Method

Selects the cell in the specified node and column.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public void SelectCell(
    TreeListNode node,
    TreeListColumn column
)
Public Sub SelectCell(
    node As TreeListNode,
    column As TreeListColumn
)

Parameters

Name Type Description
node TreeListNode

A node in which to select the cell.

column TreeListColumn

A column in which to select the cell.

Remarks

The SelectCell method selects the cell located at the intersection of the specified node (row) and column. To discard the selection, use the TreeList.UnselectCell or TreeList.UnselectCells methods.

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

NOTE

The SelectCell 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