Tab

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.v21.1.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 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