TdxCustomDockControl.OnAutoHideChanging Event
Fires before the auto hide feature is enabled or disabled.
Declaration
property OnAutoHideChanging: TdxDockControlNotifyEvent read; write;
Remarks
When the auto hide feature is activated or deactivated, an OnAutoHideChanging event is raised. Note that the event fires before the control is actually switched to auto hide mode. Thus, this event enables you to save any desired settings of controls residing within this dock control. This capability is needed since certain settings may be lost as a result of enabling or disabling of the auto hide feature. The reason is that the handle of the dock control changes when auto hide occurs.
The Sender parameter identifies the control whose auto hide feature is about to be enabled or disabled.
Note
to restore the settings saved by the OnAutoHideChanging event handler, handle the OnAutoHideChanged event.
For more information about persisting control settings please refer to the Persisting Settings of Controls Residing in Dock Panels topic.