-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Media.ScaleTransform |
winrt class |
Scales an object in the two-dimensional x-y coordinate system.
<ScaleTransform .../>
This XAML example uses a ScaleTransform to scale text from its original size.
[!code-xamlScaleTransform]
The text looks like this after the transform is applied:
This example shows how you can access and modify a transform in code at runtime. Each time the rectangle is pressed, the scale is increased.
[!code-xamltransforms_ovw_interactive_transforms]
[!code-csharptransforms_ovw_interactive_transforms_code]