Property
|
public static void AdjustLabelRatio( this PropertyGrid grid, double ratio )
Smaller ratios (e.g., 1.75) produce a wider label column.
This function only has an effect on property grids when their Visible property is set to True. To use this on an initially hidden property grid - set the property grid's Visible property to True at design time, call this function during form load, then set the Visible property to False.
This function was written to work with the .NET 2.0 PropertyGrid control. Note that reflection is used to set private properties of the property grid and as a result this function may not work with future versions of the .NET property grid.