Skip to main content
A newer version of this page is available. .

SpreadsheetControl.ActiveCell Property

Gets an active cell in the active worksheet.

Namespace: DevExpress.Xpf.Spreadsheet

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

Declaration

[Browsable(false)]
public Cell ActiveCell { get; }

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 Range 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 Range. 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.

See Also