ComponentOne Sizer for WinForms
C1.Win.Sizer.8 Assembly / C1.Win.Sizer Namespace / C1Sizer Class / AddControl Method / AddControl(Control,Int32,Int32) Method
Child System.Windows.Forms.Control to add.
Index of the row where the child control will be positioned.
Index of the column where the child control will be positioned.

In This Topic
    AddControl(Control,Int32,Int32) Method
    In This Topic
    Adds a child control to the C1Sizer and positions it at a given cell on the grid.
    Syntax
    'Declaration
     
    Public Overloads Sub AddControl( _
       ByVal ctl As System.Windows.Forms.Control, _
       ByVal row As System.Integer, _
       ByVal col As System.Integer _
    ) 
    public void AddControl( 
       System.Windows.Forms.Control ctl,
       System.int row,
       System.int col
    )

    Parameters

    ctl
    Child System.Windows.Forms.Control to add.
    row
    Index of the row where the child control will be positioned.
    col
    Index of the column where the child control will be positioned.
    See Also