ContainerControl.ScaleMinMaxSize(Single, Single, Boolean) Method

Definition

Scales the size of the container's Min and Max properties with the scale factor provided.

C#
protected virtual 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 container control along with properties being scaled; otherwise, false.

Applies to

Product Versions
Windows Desktop 7, 8, 9