Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomDockControl.FloatDockSite Property

Returns the float site where the dock control resides.

#Declaration

Delphi
property FloatDockSite: TdxFloatDockSite read;

#Property Value

Type
TdxFloatDockSite

#Remarks

Use the FloatDockSite property to get the float site that owns the dock control. Note that if the immediate parent of the dock control is not a float site, the property returns nil. Thus, you can compare the property value to nil to determine whether the control’s immediate parent is a float site. An alternative method is to compare the DockState property value to dsFloating.

When the control is visually floating, its FloatDockSite property can return nil. This occurs, for instance, if a control is joined into a tab container that resides on a float site. To obtain the owner float site in this case, you need to read the TopMostDockControl property value and convert it to the TdxFloatDockSite type.

To access the floating form settings, use the FloatForm property.

See Also