Views/AnimationView1.xaml
(完整代码) 1KB<UserControl x:Class="MahAppsMetro.Demo.Views.AnimationView1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:MahAppsMetro.Demo.Views"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300" >
<Grid>
<Canvas x:Name="canvas" RenderTransformOrigin="0.5, 0.5" Width="300" Height="300" VerticalAlignment="Center" HorizontalAlignment="Center">
<Canvas.RenderTransform>
<RotateTransform />
</Canvas.RenderTransform>
</Canvas>
<WrapPanel VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5">
<Button x:Name="btn1" Content="绘制" Click="btn1_Click" />
<TextBlock x:Name="tbAngle" Width="50" />
</WrapPanel>
</Grid>
</UserControl>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。