Vcl.Controls.DefaultDockTreeClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

DefaultDockTreeClass: TDockTreeClass = TDockTree;

C++

extern DELPHI_PACKAGE TDockTreeClass DefaultDockTreeClass;

Properties

Type Visibility Source Unit Parent
variable public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

Description

Provides the default implementation class for the DockManager property of container controls.

When you set the UseDockManager property of a container control to True, it uses the value of its DockManager property to manage docking operations. If the application does not explicitly assign a value to DockManager, the control generates a dock manager by instantiating the class specified by DefaultDockTreeClass.

The Controls unit sets DefaultDockTreeClass to TDockTree. Change this value to provide a different default implementation of the dock manager that container controls use when the DockManager property is not explicitly assigned. The class specified by DefaultDockTreeClass must be a descendant of TDockTree.

See Also