WPF 一个弧形手势提示动画

2021-07-10 05:11

阅读:439

这是一个操作提示动画,一个小手在屏幕上按照一个弧形来回运动

"LZRichMediaWall.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:LocWindow="clr-namespace:LZRichMediaWall.UIControls" xmlns:childControls="clr-namespace:LZRichMediaWall.UIControls.ChildControls" Title="MainWindow" WindowState="Maximized" AllowsTransparency="True" WindowStyle="None"> "path"> "0,100"> "100,80" IsLargeArc="True" SweepDirection="CounterClockwise" Point="600,100" /> "Window.Loaded"> "tipGd" Storyboard.TargetProperty="(Canvas.Left)" PathGeometry="{StaticResource path}" Duration="0:0:5" RepeatBehavior="Forever" Source="X" AutoReverse="True" /> "tipGd" Storyboard.TargetProperty="(Canvas.Top)" PathGeometry="{StaticResource path}" Duration="0:0:5" RepeatBehavior="Forever" Source="Y" AutoReverse="True" /> "main_Gd" Background="Black"> "animat_Cvs" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="-650,0,0,500" Visibility="Collapsed"> "Transparent" StrokeThickness="0" Data="{StaticResource path}" Canvas.Top="10" Canvas.Left="10"> "tipGd" Height="63" Width="89" Visibility="Visible" MouseLeftButtonDown="TipGd_OnMouseLeftButtonDown"> "show" Height="63" Width="76" Margin="0,0,-5,-60" Source="/LZRichMediaWall;component/Images/手.png">


评论


亲,登录后才可以留言!