Skip to main content

DockManagerCancelEventArgs.Cancel Property

Gets or sets a value indicating whether the action that raised the event should be canceled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public bool Cancel { get; set; }

Property Value

Type Description

true if the action that raised the event should be canceled; otherwise, false.


The DockManagerCancelEventArgs object is passed to the ASPxDockManager.BeforeDock event that fires before a panel docks. The Cancel property of this object enables you to cancel the action that is about to be performed. Set this property to true, to cancel the docking that raised the event. This can be used if you want to prohibit panel docking with respect to specific conditions.

See Also