Skip to content

Represents a control that applies a layout transformation to its Content.

Attributes

Property
RenderTransform
Content

Example

xml
<dev:LayoutTransformer RenderTransformOrigin="0.5,0.5">
    <Rectangle Width="200" Height="100" Fill="{ThemeResource SystemFillColorCriticalBrush}" />
    <dev:LayoutTransformer.RenderTransform>
        <CompositeTransform Rotation="90" />
    </dev:LayoutTransformer.RenderTransform>
</dev:LayoutTransformer>

Demo

you can run demo and see this feature.

LayoutTransformer

Released under the MIT License.