xtd 0.2.0
Loading...
Searching...
No Matches

◆ destroy_control()

virtual void xtd::forms::control::destroy_control ( )
virtual

Forces the destruction of the visible control, including the destruction of the handle and any visible child controls.

Remarks
The destroy_control method forces a handle to be destroyed for the control and its child controls.
Notes to Inheritors
When overriding destroy_control() in a derived class, be sure to call the base class's destroy_control() method to ensure that the handle is destroyed.