'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 columns take up the entire width of the control.
You can prevent specific columns from being resized with the form by setting their Band.IsFixedSize property. You can also set the size of multiple columns with a single call using the BandCollection.SetSizes method in the ColumnCollection 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%").