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

TdxFloatDockSite Class

Represents a float site.

#Declaration

Delphi
TdxFloatDockSite = class(
    TdxCustomDockSite
)

#Remarks

When a dock control is made to float, an underlying float site is created for it. The float site occupies the entire client area of the parent float form. The dock control, in turn, occupies the entire client area of the underlying float site. Unlike a dock site, the float site doesn’t allow docking of controls to its edges and doesn’t provide an auto hiding facility. Controls can only be docked to the child control of the float site thus forming either a tab container or a side container. The container created becomes the float site’s child and then occupies its entire area.

You can access the child of the float site using the Child property. The OnSetFloatFormCaption event enables you to assign a caption to the float form where the site resides.

Note that the float site is destroyed each time its child is docked to a dock site. If the dock site is made to float again, a new float site is created.

See Also