SpreadsheetControl.ActiveCell Property

Gets an active cell in the active worksheet.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v20.1.dll

Declaration

[Browsable(false)]
public Cell ActiveCell { get; }
<Browsable(False)>
Public ReadOnly Property ActiveCell As Cell

Property Value

Type Description
Cell

A Cell object.

Remarks

The SpreadsheetControl.ActiveCell property enables you to obtain an active cell, i.e., the cell that is in focus. It is the cell with which the user interacts.

The SpreadsheetControl.SelectedCell property returns the CellRange object that is the active cell of the current worksheet. However, unlike the SpreadsheetControl.ActiveCell property, it enables you to set the active cell by specifying the CellRange. The top left cell of the specified range becomes the selected cell.

The SpreadsheetControl.Selection property provides access to the continuous selected range that contains an active cell. If an end-user selects multiple discrete ranges, only the range that contains an active cell is obtained by this property.

Implements

DevExpress.XtraSpreadsheet.ISpreadsheetControl.ActiveCell
See Also