Form.ScaleMinMaxSize(Single, Single, Boolean) Method

Definition

Scales the size of the form's Min and Maxproperties with the scale factor provided.

C#
protected override void ScaleMinMaxSize(float xScaleFactor, float yScaleFactor, bool updateContainerSize = true);

Parameters

xScaleFactor
Single

The scale factor to be applied on the width of the property being scaled.

yScaleFactor
Single

The scale factor to be applied on the height of the property being scaled.

updateContainerSize
Boolean

true to resize the Form along with properties being scaled; otherwise, false.

Applies to

Produkt Verzie
Windows Desktop 7, 8, 9, 10