TranslateTransform

The TranslateTransform translates (moves) an object in the two-dimensional x-y coordinate system. Multiple transforms can be applied with a TransformGroup. Custom transforms can be created with a MatrixTransform.

TranslateTransform defines an axis-aligned translation along the x and y axes. Transforms can alter the display of text in your application to create a decorative effect.

For example:

<c1:C1LayoutTransformer >

    <c1:C1LayoutTransformer.LayoutTransform>

        <TranslateTransform X="50" Y="50"></TranslateTransform>

    </c1:C1LayoutTransformer.LayoutTransform>

    <Button Background="DarkOrchid" Content="Translate" Height="80" Width="180" VerticalAlignment="Center" HorizontalAlignment="Left"/>

</c1:C1LayoutTransformer>


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.