Ghost1372

everything can be handy

LayoutTransformer

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

Attributes

Property
RenderTransform
Content

Example

1
2
3
4
5
6
<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.

DevWinUI

0%