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.DockType Property

Returns a value indicating how the dock control is aligned within its parent control.

#Declaration

Delphi
property DockType: TdxDockingTypeEx read;

#Property Value

Type
TdxDockingTypeEx

#Remarks

Use the DockType property to determine how the dock control is aligned within its parent control. This property can return the following values.

Value

Description

dtClient

The dock control occupies all the available area of its parent control. This value is returned by

dtLeft

The control is docked to the left edge of its parent.

dtTop

The control is docked to the top edge of its parent.

dtRight

The control is docked to the right edge of its parent.

dtBottom

The control is docked to the bottom edge of its parent.

dtNone

The dock control has no parent control. The dock control hasn’t been docked to any control or made to float. Also, dock sites always return dtNone.

Suppose that dock controls are joined into a vertical or horizontal side container. In this case, the DockType property of all controls that are before the active child (the maximized control) will return dtLeft or dtTop respectively. As stated above, active children will return dtClient. Controls that follow the active child will return dtRight or dtBottom respectively. If none of the controls within a side container are maximized, the DockType property all controls will return dtLeft or dtTop.

See Also