Uno.WindowsCommunityToolkit/CommunityToolkit.WinUI.UI.C.../LayoutTransformControl/LayoutTransformControl.xaml

20 строки
814 B
XML

<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:CommunityToolkit.WinUI.UI.Controls">
<Style TargetType="controls:LayoutTransformControl">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:LayoutTransformControl">
<Grid x:Name="LayoutRoot" Background="{TemplateBinding Background}">
<Grid.RenderTransform>
<MatrixTransform x:Name="MatrixTransform" />
</Grid.RenderTransform>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>