DSF.Net/Controllers/Process/RichRoundProcess.xaml
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<UserControl x:Class="DSF.Net.Controllers.Process.RichRoundProcess"
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:DSF.Net.Controllers.Process"
xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
mc:Ignorable="d"
d:DesignHeight="136" d:DesignWidth="110">
<UserControl.Resources>
<Storyboard x:Key="RoundAnimate" RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="grid">
<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
<EasingDoubleKeyFrame KeyTime="0:0:10" Value="-360"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="arc1">
<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
<EasingDoubleKeyFrame KeyTime="0:0:10" Value="360"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</UserControl.Resources>
<UserControl.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard Storyboard="{StaticResource RoundAnimate}"/>
</EventTrigger>
</UserControl.Triggers>
<Viewbox>
<Grid Height="136" Width="110">
<Rectangle Margin="10,0,10,0" Height="22" VerticalAlignment="Top" RadiusX="11" RadiusY="11" Stroke="{Binding Path=ThemeColor.Light}"/>
<Label x:Name="labelTitle" Content="Process(%)" Margin="10,0" VerticalAlignment="Top" Height="22" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Padding="0" Foreground="{Binding Path=ThemeColor.TextEnabled}" FontFamily="Microsoft YaHei" FontSize="13"/>
<Grid x:Name="grid" Height="110" Margin="0,26,0,0" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Top">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Grid.RenderTransform>
<ed:Arc ArcThickness="0" ArcThicknessUnit="Pixel" EndAngle="88" Stretch="None" StartAngle="-90" StrokeThickness="4" Stroke="{Binding Path=ThemeColor.Light}" Opacity="0.8" Margin="1" Height="108" Width="108"/>
<ed:Arc ArcThickness="0" ArcThicknessUnit="Pixel" EndAngle="268" Stretch="None" StartAngle="90" StrokeThickness="4" Stroke="{Binding Path=ThemeColor.Light}" Margin="1,1,1,0" Height="108" Width="108"/>
</Grid>
<ed:Arc EndAngle="359" Stretch="None" Stroke="{Binding Path=ThemeColor.Light}" Opacity="0.3" Margin="16,0,16,16" StrokeThickness="4.5" StrokeDashArray="1 0.2" ArcThickness="0" Width="78" Height="78" VerticalAlignment="Bottom" d:LayoutOverrides="Height"/>
<Ellipse Margin="8,0,8,8" StrokeThickness="1.5" Width="94" Height="94" VerticalAlignment="Bottom">
<Ellipse.Stroke>
<SolidColorBrush Color="{Binding Path=ThemeColor.Light}" Opacity="0.3"/>
</Ellipse.Stroke>
</Ellipse>
<Ellipse Margin="23,0,23,23" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="0.6" Width="64" Height="64" VerticalAlignment="Bottom"/>
<ed:Arc Name="arc" EndAngle="0" Stroke="{Binding Path=ThemeColor.Light}" Stretch="None" Margin="16,0,16,16" StrokeThickness="4.5" StrokeDashArray="1 0.2" ArcThickness="0" Width="78" Height="78" VerticalAlignment="Bottom" d:LayoutOverrides="Height"/>
<ed:Arc x:Name="arc1" EndAngle="120" Stretch="None" Margin="8,0,8,8" StrokeDashArray="1 0" ArcThickness="0" Height="94" VerticalAlignment="Bottom" StrokeThickness="1.5" StrokeEndLineCap="Round" StrokeDashCap="Round" StrokeStartLineCap="Round" RenderTransformOrigin="0.5,0.5" Width="94">
<ed:Arc.RenderTransform>
<TransformGroup>
<ScaleTransform/>
后面还有 15 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。