ContainerControl.ScaleMinMaxSize(Single, Single, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scales the size of the container's Min
and Max
properties with the scale factor provided.
protected virtual void ScaleMinMaxSize (float xScaleFactor, float yScaleFactor, bool updateContainerSize = true);
abstract member ScaleMinMaxSize : single * single * bool -> unit
override this.ScaleMinMaxSize : single * single * bool -> unit
Protected Overridable Sub ScaleMinMaxSize (xScaleFactor As Single, yScaleFactor As Single, Optional updateContainerSize As Boolean = 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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.