SpreadsheetControl.SheetRenamed Event
Occurs after a worksheet has been renamed via the SpreadsheetControl‘s UI.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.2.dll
NuGet Package: DevExpress.Win.Spreadsheet
#Declaration
public event SheetRenamedEventHandler SheetRenamed
#Event Data
The SheetRenamed event's data class is SheetRenamedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
New |
Gets the new name of the renamed worksheet. |
Old |
Gets the former name of the renamed worksheet. |
#Remarks
Handle the SheetRenamed event to perform specific actions each time an end-user renames a worksheet using the control’s UI.
To cancel renaming a worksheet, handle the SpreadsheetControl.SheetRenaming event that is raised before a worksheet is renamed.
Note
By default, the Sheet