Skip to main content

TdxDockPanel Class

A dock panel.

Declaration

TdxDockPanel = class(
    TdxCustomDockControl,
    IcxTabControl,
    IcxControlComponentState
)

Remarks

A TdxDockPanel object represents a dock panel. Dock panels are the main building blocks of applications using dock windows. They serve as containers for the controls available.

Note that dock panels cannot reside on forms directly. If not residing on a dock site or a layout site, an underlying float site is automatically created for them. The float site, it turn, accommodates the float form specifically created to hold it.

In addition to docking panels to dock sites, layout sites or making them float, you can dock panels to each other in order to form various containers. If a panel is docked to the left or right edge of another panel, a horizontal side container is created. If docked to the top or bottom edge, a vertical side container is created. In addition, you can dock a panel to the entire client area of another panel. This will form a tab container.

Once panels are docked to each other and containers are created, you can perform docking operations on the containers created also. This implies either docking panels to containers or docking containers to each other in order to form containers of a more complex structure. For instance, there can be a tab container within a side container, etc. Please refer to the docking manager’s Options property description for details on the operations allowed.

The TdxDockPanel class simply publishes the properties and events inherited from base classes, overrides certain base class methods, and introduces the ShowSingleTab and TabsProperties properties that allow you to switch the tab visibility and customize tab settings.

See Also