ScaleTransform.ScaleY Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

ScaleYProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: