ASPxDockManager.BeforeFloat Event
Fires on the server side before a panel is made floating (undocked from a zone) and allows you to cancel the action.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public event DockManagerCancelEventHandler BeforeFloat
#Event Data
The BeforeFloat event's data class is DockManagerCancelEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the action that raised the event should be canceled. |
Panel |
Gets the panel currently being processed.
Inherited from Dock |
Zone |
Gets the zone currently being processed.
Inherited from Dock |
#Remarks
Write a BeforeFloat event handler to perform specific actions on the server side before each time the panel is made floating. You can use the event parameter’s properties to identify a panel (DockManagerEventArgs.Panel) currently being processed and a zone (DockManagerEventArgs.Zone) from which the panel is undocked.
Note
If a panel is dragged and dropped directly from one zone to another, the Before
Note that if the Cancel property is set to true
in the event’s handler, the execution of the current command is canceled, and therefore no further processing is performed (that is, the panel is not floated).
To learn more, see the Common Docking Events topic.