Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.72 KB

scaletransform.md

File metadata and controls

43 lines (26 loc) · 1.72 KB
-api-id -api-type
T:Windows.UI.Xaml.Media.ScaleTransform
winrt class

Windows.UI.Xaml.Media.ScaleTransform

-description

Scales an object in the two-dimensional x-y coordinate system.

-xaml-syntax

<ScaleTransform .../>

-remarks

-examples

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:

Text with a scale transform 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]

[!code-vbtransforms_ovw_interactive_transforms_code]

-see-also

Transform, XAML two-dimensional transforms sample