ScaleTransform.ScaleY Property
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.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈