Back to Devexpress

TreeListMultiSelection.SelectCell(TreeListNode, TreeListColumn) Method

windowsforms-devexpress-dot-xtratreelist-dot-treelistmultiselection-dot-selectcell-x28-devexpress-dot-xtratreelist-dot-nodes-dot-treelistnode-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-x29.md

latest3.0 KB
Original Source

TreeListMultiSelection.SelectCell(TreeListNode, TreeListColumn) Method

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Parameters

NameTypeDescription
nodeTreeListNode

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 TreeListMultiSelection.UnselectCell method.

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

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

UnselectCell(TreeListNode, TreeListColumn)

SelectCell(TreeListNode, TreeListColumn)

TreeListMultiSelection Class

TreeListMultiSelection Members

DevExpress.XtraTreeList Namespace