ScaleTransform.ScaleY Property


Gets or sets the y-axis scale factor.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

member ScaleY : float with get, set

Property Value

Type: System.Double

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

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).

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft