Back to Devexpress

DockPanel.FloatForm Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-863ca98d.md

latest2.0 KB
Original Source

DockPanel.FloatForm Property

Gets the floating form which the panel resides on.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public FloatForm FloatForm { get; }
vb
<Browsable(False)>
Public ReadOnly Property FloatForm As FloatForm

Property Value

TypeDescription
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

FloatSize

MakeFloat

Visibility

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace