Input for WinForms | ComponentOne
C1.Win.Input.Base Namespace / C1DropDownControlBase Class / OnHandleDestroyed Method
An System.EventArgs that contains the event data.

In This Topic
    OnHandleDestroyed Method (C1DropDownControlBase)
    In This Topic
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnHandleDestroyed( _
       ByVal e As EventArgs _
    ) 
    protected virtual void OnHandleDestroyed( 
       EventArgs e
    )

    Parameters

    e
    An System.EventArgs that contains the event data.
    Remarks

    This allows the host element to remain valid even if their parent view is disposed. To dispose of the hosted control, call Dispose on the hosted control directly.

    Note: C1.Framework.XViewLight determines that a System.Windows.Forms.Controlbelongs to an C1.Framework.XViewLight.Element if the control's System.Windows.Forms.Control.Tag property contains a reference to a System.Windows.Forms.Control object.

    See Also