Xceed Grid for WinForms v4.3 Documentation
Xceed.UI.v1.4 Assembly / Xceed.UI Namespace / ThemedControl Class / CloneControl Method
A reference to the System.Windows.Forms.Control to clone.


In This Topic
    CloneControl Method
    In This Topic
    Clones the specified control.
    Syntax
    'Declaration
     
    Public Shared Function CloneControl( _
       ByVal source As Control _
    ) As Control
    'Usage
     
    Dim source As Control
    Dim value As Control
     
    value = ThemedControl.CloneControl(source)
    public static Control CloneControl( 
       Control source
    )

    Parameters

    source
    A reference to the System.Windows.Forms.Control to clone.

    Return Value

    A System.Windows.Forms.Control representing the cloned instance.
    Remarks

    Events from the source control will not be propagated to the cloned instance.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also