'Declaration Public Overrides Property Size As System.Integer
public override System.int Size {get; set;}
'Declaration Public Overrides Property Size As System.Integer
public override System.int Size {get; set;}
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%").