Skip to main content

SpreadsheetControl.SheetRemoved Event

Occurs after a worksheet has been removed from a workbook.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.2.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

Declaration

public event SheetRemovedEventHandler SheetRemoved

Event Data

The SheetRemoved event's data class is SheetRemovedEventArgs.

Remarks

Handle the SheetRemoved event to perform specific actions each time an end-user deletes a worksheet from a workbook via the control’s UI.

When a user interface command is used to remove the worksheet from the workbook, the SpreadsheetControl.ActiveSheetChanged event fires first, and the SheetRemoved event fires next. The SpreadsheetControl.ActiveSheetChanging event does not occur.

See Also