Back to Devexpress

SpreadsheetCellEventArgsBase.SheetName Property

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

latest3.5 KB
Original Source

SpreadsheetCellEventArgsBase.SheetName Property

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

Declaration

csharp
public string SheetName { get; }
vb
Public ReadOnly Property SheetName As String

Property Value

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

winforms-spreadsheet-control-create-a-data-entry-form/CS/DataEntryFormSample/SpreadsheetBindingManager.cs#L227

csharp
// Update the data source property's value when the bound cell's value changes.
if (e.SheetName == SheetName)
{

wpf-spreadsheet-control-create-a-data-entry-form/CS/WpfDataEntryFormSample/SpreadsheetBindingManager.cs#L215

csharp
// Update the data source property's value when the bound cell's value changes.
if (e.SheetName == SheetName)
{

winforms-spreadsheet-control-create-a-data-entry-form/VB/DataEntryFormSample/SpreadsheetBindingManager.vb#L197

vb
'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()

wpf-spreadsheet-control-create-a-data-entry-form/VB/WpfDataEntryFormSample/SpreadsheetBindingManager.vb#L194

vb
'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

SpreadsheetCellEventArgsBase Members

DevExpress.XtraSpreadsheet Namespace