Skip to main content

TdxCustomDockControl.OnAutoHideChanged Event

Fires when the dock control’s auto hide feature is enabled or disabled.

Declaration

property OnAutoHideChanged: TdxDockControlNotifyEvent read; write;

Remarks

The auto hide feature can be enabled by changing the AutoHide property. End-users can enable or disable this feature by clicking the auto hide button within the dock control’s caption (see the CaptionButtons property description for details). This also results in the AutoHide property value change.

Whenever the AutoHide property value changes, the OnAutoHideChanged event is raised. Its Sender parameter identifies the appropriate dock control.

Note that you can specify the edge of the dock site where the control will be hidden when the auto hide feature is enabled. Handle the OnGetAutoHidePosition event for this purpose.

See Also