Skip to main content
A newer version of this page is available. .
Tab

DockZoneCancelEventArgs.Cancel Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public bool Cancel { get; set; }

Property Value

Type Description
Boolean

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

Remarks

The DockZoneCancelEventArgs object is passed to the ASPxDockZone.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