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

ISpreadsheetComponent.ActiveSheetChanging Event

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

Namespace: DevExpress.Spreadsheet

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

Declaration

event ActiveSheetChangingEventHandler ActiveSheetChanging
Event ActiveSheetChanging As ActiveSheetChangingEventHandler

Event Data

The ActiveSheetChanging event's data class is ActiveSheetChangingEventArgs. 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. Inherited from ActiveSheetChangeEventArgsBase.
OldActiveSheetName Gets the name of the old active worksheet. Inherited from ActiveSheetChangeEventArgsBase.
See Also