Back to Devexpress

SpreadsheetCellEventArgsBase.Cell Property

officefileapi-devexpress-dot-xtraspreadsheet-dot-spreadsheetcelleventargsbase-f5b27d2c.md

latest2.4 KB
Original Source

SpreadsheetCellEventArgsBase.Cell Property

Gets the cell for which the event is fired.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public Cell Cell { get; }
vb
Public ReadOnly Property Cell As Cell

Property Value

TypeDescription
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

csharp
e.Cancel = true;
using (RichTextEditForm richEditForm = new RichTextEditForm(e.Cell))
    richEditForm.ShowDialog();

winforms-spreadsheet-how-to-edit-rich-text/VB/SpreadsheetRichText/Form1.vb#L31

vb
e.Cancel = True
Using richEditForm As New RichTextEditForm(e.Cell)
    richEditForm.ShowDialog()

See Also

SpreadsheetCellEventArgsBase Class

SpreadsheetCellEventArgsBase Members

DevExpress.XtraSpreadsheet Namespace