Table of Contents

Method FitColumns

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

FitColumns()

Reduces column sizes to minimum possible, while still retaining fully visible grid contents (labels, images).

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.