Back to Devexpress

SheetRenamingEventArgs.OldName Property

officefileapi-devexpress-dot-spreadsheet-dot-sheetrenamingeventargs-3cf10548.md

latest1.4 KB
Original Source

SheetRenamingEventArgs.OldName Property

Gets the name of the worksheet being renamed.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Property Value

TypeDescription
String

A string that is the current name of the worksheet.

|

Remarks

Handle the SpreadsheetControl.SheetRenaming event and use the OldName to determine the name of the worksheet to be renamed; set the Cancel to true to cancel renaming.

See Also

SheetRenamingEventArgs Class

SheetRenamingEventArgs Members

DevExpress.Spreadsheet Namespace