Back to Devexpress

ActiveSheetChangingEventArgs.Cancel Property

officefileapi-devexpress-dot-spreadsheet-dot-activesheetchangingeventargs.md

latest1.4 KB
Original Source

ActiveSheetChangingEventArgs.Cancel Property

Gets or sets whether the changing the active sheet should be canceled.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public bool Cancel { get; set; }
vb
Public Property Cancel As Boolean

Property Value

TypeDescription
Boolean

true , to cancel the operation; otherwise, false.

|

Remarks

Handle the SpreadsheetControl.ActiveSheetChanging event and set the Cancel to true to cancel changing the active worksheet.

See Also

ActiveSheetChangingEventArgs Class

ActiveSheetChangingEventArgs Members

DevExpress.Spreadsheet Namespace