officefileapi-devexpress-dot-xtraspreadsheet-dot-spreadsheetcelleventargsbase-f5b27d2c.md
Gets the cell for which the event is fired.
Namespace : DevExpress.XtraSpreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public Cell Cell { get; }
Public ReadOnly Property Cell As Cell
| Type | Description |
|---|---|
| Cell |
A Cell object.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Cell property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-spreadsheet-how-to-edit-rich-text/CS/SpreadsheetRichText/Form1.cs#L36
e.Cancel = true;
using (RichTextEditForm richEditForm = new RichTextEditForm(e.Cell))
richEditForm.ShowDialog();
winforms-spreadsheet-how-to-edit-rich-text/VB/SpreadsheetRichText/Form1.vb#L31
e.Cancel = True
Using richEditForm As New RichTextEditForm(e.Cell)
richEditForm.ShowDialog()
See Also
SpreadsheetCellEventArgsBase Class