Back to Devexpress

ISpreadsheetComponent.ActiveSheetChanging Event

officefileapi-devexpress-dot-spreadsheet-dot-ispreadsheetcomponent-72b12468.md

latest2.0 KB
Original Source

ISpreadsheetComponent.ActiveSheetChanging Event

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

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
event ActiveSheetChangingEventHandler ActiveSheetChanging
vb
Event ActiveSheetChanging As ActiveSheetChangingEventHandler

Event Data

The ActiveSheetChanging event's data class is ActiveSheetChangingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets whether the changing the active sheet should be canceled.
NewActiveSheetNameGets the name of the new active worksheet. Inherited from ActiveSheetChangeEventArgsBase.
OldActiveSheetNameGets the name of the old active worksheet. Inherited from ActiveSheetChangeEventArgsBase.

See Also

ISpreadsheetComponent Interface

ISpreadsheetComponent Members

DevExpress.Spreadsheet Namespace