Back to Devexpress

TdxAutoHidePosition Enum

vcl-dxdockcontrol-72ff746b.md

latest1.3 KB
Original Source

TdxAutoHidePosition Enum

Contains values specifying the edges of dock sites where dock controls can be hidden when their auto hide feature is enabled.

Declaration

delphi
TdxAutoHidePosition = (
    ahpLeft,
    ahpTop,
    ahpRight,
    ahpBottom,
    ahpUndefined
);

Members

Name
ahpLeft
ahpTop
ahpRight
ahpBottom
ahpUndefined

Remarks

Values listed in the TdxAutoHidePosition type are passed to the OnGetAutoHidePosition event of dock controls. They specify the automatically determined edge of the dock site to which a control is hidden when the auto hide feature is enabled. However, you can specify a different value to force the control to be hidden to different edge of the dock site.

The following values are available in the TdxAutoHidePosition enumerator.

ValueDescription
ahpLeftThe dock control is hidden to the left edge of the dock site.
ahpTopThe dock control is hidden to the top edge of the dock site.
ahpRightThe dock control is hidden to the right edge of the dock site.
ahpBottomThe dock control is hidden to the bottom edge of the dock site.

See Also

dxDockControl Unit