officefileapi-devexpress-dot-xtraspreadsheet-dot-spreadsheetcelleventargsbase-b456a1bc.md
Gets the name of the worksheet that contains the cell.
Namespace : DevExpress.XtraSpreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public string SheetName { get; }
Public ReadOnly Property SheetName As String
| Type | Description |
|---|---|
| String |
A string value specifying the worksheet name.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the SheetName 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.
// Update the data source property's value when the bound cell's value changes.
if (e.SheetName == SheetName)
{
// Update the data source property's value when the bound cell's value changes.
if (e.SheetName == SheetName)
{
'Update the data source property's value when the bound cell's value changes.
If e.SheetName = SheetName Then
Dim reference As String = e.Cell.GetReferenceA1()
'Update the data source property's value when the bound cell's value changes.
If e.SheetName = SheetName Then
Dim reference As String = e.Cell.GetReferenceA1()
See Also
SpreadsheetCellEventArgsBase Class