ComponentOne Sizer for WinForms
C1.Win.Sizer.8 Assembly / C1.Win.Sizer Namespace / Band Class / Bounds Property

In This Topic
    Bounds Property (Band)
    In This Topic
    Gets a System.Drawing.Rectangle that represents the size and location of the band within the parent C1Sizer control.
    Syntax
    'Declaration
     
    Public ReadOnly Property Bounds As System.Drawing.Rectangle
    public System.Drawing.Rectangle Bounds {get;}
    Remarks
    You can use the Bounds property to determine the position of specific grid cells. For example, the code below moves a button control into cell 1,1 of the layout grid: Rectangle bounds = Rectangle.Intersect(g.Rows[1].Bounds, g.Columns[1].Bounds); button1.Bounds = bounds;
    See Also