Skip to main content

DockPanel.FloatForm Property

Gets the floating form which the panel resides on.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public FloatForm FloatForm { get; }

Property Value

Type Description
FloatForm

A FloatForm object referring to the form which the floating panel resides on.

Remarks

When a panel is floating, the dock manager automatically creates a floating form and then places the panel onto this form. The FloatForm property provides access to this floating form. When the panel isn’t floating null is returned. FloatForm also returns null when a floating panel is hidden (its DockPanel.Visibility property is set to DockVisibility.Hidden).

The methods provided by the FloatForm property can be used to change the form’s position, size, etc.

See Also