Method FitColumns
FitColumns()
Reduces column sizes to minimum possible, while still retaining fully visible grid contents (labels, images).
public virtual SizeD FitColumns()
Returns
- SizeD
Minimum size for the grid to still display everything.
Remarks
Does not work well with SplitterAutoCenter window style. This function only works properly if grid size prior to call was already fairly large.