Skip to main content

ActiveViewChangingEventArgs.Cancel Property

Gets or sets a value indicating whether changing the currently active view should be canceled.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public bool Cancel { get; set; }

#Property Value

Type Description
Boolean

true to cancel the changing the currently active view; otherwise, false.

#Remarks

Set the Cancel property to true to cancel changing of the SchedulerControl.ActiveView property value. The old and new view types can be accessed via the ActiveViewChangingEventArgs.OldView and ActiveViewChangingEventArgs.NewView properties, respectively.

See Also