提交 376a3c87 编写于 作者: 闫驚鏵

Update CircularMenu.xaml

上级 f25f6237
...@@ -91,26 +91,22 @@ ...@@ -91,26 +91,22 @@
x:Name="PART_Ellipse" x:Name="PART_Ellipse"
Width="100" Width="100"
Height="100" Height="100"
Fill="{StaticResource WD.PrimaryNormalSolidColorBrush}" Fill="{StaticResource WD.PrimaryNormalSolidColorBrush}" />
ToolTip="关闭" /> <controls:PathIcon
<Path
x:Name="PART_Path" x:Name="PART_Path"
Width="20" Width="20"
Height="20" Height="20"
Data="{StaticResource WD.AddGeometry}" Foreground="{StaticResource WD.BackgroundSolidColorBrush}"
Fill="{StaticResource WD.BackgroundSolidColorBrush}" Kind="Add"
IsHitTestVisible="False" RenderTransformOrigin="0.5,0.5" />
RenderTransformOrigin="0.5,0.5"
Stretch="Fill" />
</controls:SmallPanel> </controls:SmallPanel>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="false"> <Trigger Property="IsChecked" Value="True">
<Setter TargetName="PART_Path" Property="RenderTransform"> <Setter TargetName="PART_Path" Property="RenderTransform">
<Setter.Value> <Setter.Value>
<RotateTransform Angle="45" /> <RotateTransform Angle="45" />
</Setter.Value> </Setter.Value>
</Setter> </Setter>
<Setter TargetName="PART_Ellipse" Property="ToolTip" Value="展开" />
</Trigger> </Trigger>
</ControlTemplate.Triggers> </ControlTemplate.Triggers>
</ControlTemplate> </ControlTemplate>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册