-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Media.TranslateTransform |
winrt class |
Translates (moves) an object in the two-dimensional x-y coordinate system.
<TranslateTransform .../>
This example uses a TranslateTransform to offset text. In this example, a slightly offset copy of text below the primary text creates a shadow effect.
[!code-xamlTranslateTransform_1]
[!code-xamlTranslateTransform_2]
[!code-csharpTranslateTransform_2_code]