ScaleTransform.ScaleY Property

Definition

Gets or sets the y-axis scale factor.

public double ScaleY { get; set; }

Property Value

The scale factor along the y-axis. The default is 1.

Remarks

Values between 0 and 1 decrease the height of the scaled object; values greater than 1 increase the height of the scaled object. A value of 1 indicates that the object is not scaled in the y-direction.

Negative values flip the scaled object vertically. Values between 0 and -1 flip the scale object and decrease its height. Values less than -1 flip the object and increase its height. A value of -1 flips the scaled object but does not change its vertical size.

For more information and for examples, see How to: Scale an Element and How to: Flip a UIElement Horizontally or Vertically).

Dependency Property Information

Identifier field ScaleYProperty
Metadata properties set to true None

Applies to

Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9