.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ISpreadsheetComponent.ActiveSheetChanging Event

Occurs when an active worksheet in a workbook is about to be changed.

Namespace: DevExpress.Spreadsheet

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

Declaration

event ActiveSheetChangingEventHandler ActiveSheetChanging
Event ActiveSheetChanging As ActiveSheetChangingEventHandler
event ActiveSheetChangingEventHandler ActiveSheetChanging
Event ActiveSheetChanging As ActiveSheetChangingEventHandler
event ActiveSheetChangingEventHandler ActiveSheetChanging
Event ActiveSheetChanging As ActiveSheetChangingEventHandler

Event Data

The ActiveSheetChanging event handler receives an argument of the ActiveSheetChangingEventArgs type. The following properties provide information specific to this event.

Property Description
Cancel Gets or sets whether the changing the active sheet should be canceled.
NewActiveSheetName Gets the name of the new active worksheet.
OldActiveSheetName Gets the name of the old active worksheet.
See Also