Table of Contents

Method Fit

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Fit(Control)

Tells the sizer to resize the control so that its client area matches the sizer's minimal size (ComputeFittingClientSize(Control) is called to determine it).

SizeI Fit(Control control)

Parameters

control Control

Affected control.

Returns

SizeI

The new window size.

Remarks

This is commonly done in the constructor of the control itself.