ComponentOne Sizer for WinForms
C1.Win.C1Sizer.4.8 Assembly / C1.Win.C1Sizer Namespace / Row Class / Size Property

In This Topic
    Size Property (Row)
    In This Topic
    Gets or sets the height of the Row in pixels.
    Syntax
    'Declaration
     
    Public Overrides Property Size As System.Integer
    public override System.int Size {get; set;}
    Remarks

    The Size property is updated whenever the control is resized, so that the rows take up the entire height of the control.

    You can prevent specific rows from being resized with the form by setting their Band.IsFixedSize property. You can also set the size of multiple rows with a single call using the BandCollection.SetSizes method in the RowCollection class.

    When entering row heights or column widths into the PropertyGrid, you may also specify values as percentages of the control size (e.g. "25%").

    See Also