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

TdxDockSite.OnHideControl Event

In This Article

Fires when an auto hide enabled dock control gets hidden.

#Declaration

Delphi
property OnHideControl: TdxAutoHideControlEvent read; write;

#Remarks

Dock controls with their auto hide feature enabled are automatically hidden when the mouse pointer is not over them or their referencing label, provided that the control is not active. The control can also be hidden by assigning nil to the ShowingControl property. In either case, the OnHideControl event is raised.

Handle OnHideControl to provide a proper response to hiding an auto hide enabled dock control. For instance, if you handle the OnShowControl event, you can use the OnHideControl event to perform any necessary cleanup.

The Sender parameter of the OnHideControl event identifies the controlling dock. The AControl parameter specifies the hidden control.

See Also