Skip to main content

TdxCustomDockControl.OnVisibleChanged Event

Fires immediately after the dock control’s visibility has been changed.

Declaration

property OnVisibleChanged: TdxDockControlNotifyEvent read; write;

Remarks

The visibility of a dock control can be changed using several methods. First, you can use the Visible property of the control or its Show and Hide methods. Also, the dock control becomes invisible when closing it, provided that the doFreeOnClose and doUndockOnClose options are disabled. These options can be accessed via the Options property of the docking manager. Finally, the visibility of the control changes when it is in auto hide mode.

Handle the OnVisibleChanged event to perform specific actions each time the dock control’s visibility has been changed. The current state of the control can be obtained via its Visible property.

The Sender parameter of the event identifies the control whose visibility has been changed.

See Also