Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / SpreadChildControlContainer Class / AddChild Method
Child control to add


In This Topic
    AddChild Method
    In This Topic
    Adds a child control to the container.
    Syntax
    'Declaration
     
    
    Public Overridable Sub AddChild( _
       ByVal ctl As Control _
    ) 
    'Usage
     
    
    Dim instance As SpreadChildControlContainer
    Dim ctl As Control
     
    instance.AddChild(ctl)
    public virtual void AddChild( 
       Control ctl
    )

    Parameters

    ctl
    Child control to add
    Exceptions
    ExceptionDescription
    Name of the child control already exists in the container; control names must be unique
    No child control name specified or control name is null or empty; control names must be non-null and non-empty
    See Also