Edit

Bagikan melalui


ScaleTransform.ScaleY Property

Definition

Gets or sets the y-axis scale factor.

public:
 property double ScaleY { double get(); void set(double value); };
public double ScaleY { get; set; }
member this.ScaleY : double with get, set
Public Property ScaleY As Double

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