|
4002 | 4002 | <Setter Property="Template"> |
4003 | 4003 | <Setter.Value> |
4004 | 4004 | <ControlTemplate TargetType="{x:Type controls:DefaultLoading}"> |
4005 | | - <ControlTemplate.Resources> |
4006 | | - <Storyboard x:Key="WD.PlayStoryboard" RepeatBehavior="Forever"> |
4007 | | - <DoubleAnimation RepeatBehavior="Forever" Storyboard.TargetName="PART_Grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)" To="360" Duration="0:0:0.784" /> |
4008 | | - <DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" Storyboard.TargetName="PART_Arc" Storyboard.TargetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)"> |
4009 | | - <SplineDoubleKeyFrame KeyTime="0" Value="0" /> |
4010 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:0.666" Value="135" /> |
4011 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:1.333" Value="270" /> |
4012 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:1.999" Value="405" /> |
4013 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:2.666" Value="540" /> |
4014 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:3.333" Value="675" /> |
4015 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:3.999" Value="810" /> |
4016 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:4.666" Value="945" /> |
4017 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:5.332" Value="1080" /> |
4018 | | - </DoubleAnimationUsingKeyFrames> |
4019 | | - <DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" Storyboard.TargetName="PART_Arc" Storyboard.TargetProperty="(shapes:Arc.StartAngle)"> |
4020 | | - <SplineDoubleKeyFrame KeyTime="0" Value="-5" /> |
4021 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:0.666" Value="-130" /> |
4022 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:1.333" Value="-5" /> |
4023 | | - </DoubleAnimationUsingKeyFrames> |
4024 | | - <DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" Storyboard.TargetName="PART_Arc" Storyboard.TargetProperty="(shapes:Arc.EndAngle)"> |
4025 | | - <SplineDoubleKeyFrame KeyTime="0" Value="5" /> |
4026 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:0.666" Value="130" /> |
4027 | | - <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:1.333" Value="5" /> |
4028 | | - </DoubleAnimationUsingKeyFrames> |
4029 | | - </Storyboard> |
4030 | | - </ControlTemplate.Resources> |
4031 | 4005 | <Grid x:Name="PART_Grid" RenderTransformOrigin=".5,.5"> |
| 4006 | + <Grid.Resources> |
| 4007 | + <Storyboard x:Key="WD.PlayStoryboard" RepeatBehavior="Forever"> |
| 4008 | + <DoubleAnimation RepeatBehavior="Forever" Storyboard.TargetName="PART_Grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)" To="360" Duration="0:0:0.784" /> |
| 4009 | + <DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" Storyboard.TargetName="PART_Arc" Storyboard.TargetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)"> |
| 4010 | + <SplineDoubleKeyFrame KeyTime="0" Value="0" /> |
| 4011 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:0.666" Value="135" /> |
| 4012 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:1.333" Value="270" /> |
| 4013 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:1.999" Value="405" /> |
| 4014 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:2.666" Value="540" /> |
| 4015 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:3.333" Value="675" /> |
| 4016 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:3.999" Value="810" /> |
| 4017 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:4.666" Value="945" /> |
| 4018 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:5.332" Value="1080" /> |
| 4019 | + </DoubleAnimationUsingKeyFrames> |
| 4020 | + <DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" Storyboard.TargetName="PART_Arc" Storyboard.TargetProperty="(shapes:Arc.StartAngle)"> |
| 4021 | + <SplineDoubleKeyFrame KeyTime="0" Value="-5" /> |
| 4022 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:0.666" Value="-130" /> |
| 4023 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:1.333" Value="-5" /> |
| 4024 | + </DoubleAnimationUsingKeyFrames> |
| 4025 | + <DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" Storyboard.TargetName="PART_Arc" Storyboard.TargetProperty="(shapes:Arc.EndAngle)"> |
| 4026 | + <SplineDoubleKeyFrame KeyTime="0" Value="5" /> |
| 4027 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:0.666" Value="130" /> |
| 4028 | + <SplineDoubleKeyFrame KeySpline="0.4,0.0,0.2,1" KeyTime="0:0:1.333" Value="5" /> |
| 4029 | + </DoubleAnimationUsingKeyFrames> |
| 4030 | + </Storyboard> |
| 4031 | + </Grid.Resources> |
| 4032 | + <Grid.Triggers> |
| 4033 | + <EventTrigger RoutedEvent="Grid.Loaded"> |
| 4034 | + <BeginStoryboard Storyboard="{StaticResource WD.PlayStoryboard}" /> |
| 4035 | + </EventTrigger> |
| 4036 | + </Grid.Triggers> |
4032 | 4037 | <Grid.RenderTransform> |
4033 | 4038 | <RotateTransform /> |
4034 | 4039 | </Grid.RenderTransform> |
|
4055 | 4060 | <Setter Property="Template"> |
4056 | 4061 | <Setter.Value> |
4057 | 4062 | <ControlTemplate TargetType="{x:Type controls:ProgressLoading}"> |
4058 | | - <ControlTemplate.Resources> |
4059 | | - <Storyboard x:Key="WD.PlayStoryboard" RepeatBehavior="Forever"> |
4060 | | - <DoubleAnimation RepeatBehavior="Forever" Storyboard.TargetName="PART_Grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)" To="360" Duration="0:0:0.784" /> |
4061 | | - </Storyboard> |
4062 | | - </ControlTemplate.Resources> |
4063 | 4063 | <Grid x:Name="PART_Grid" RenderTransformOrigin=".5,.5"> |
| 4064 | + <Grid.Resources> |
| 4065 | + <Storyboard x:Key="WD.PlayStoryboard" RepeatBehavior="Forever"> |
| 4066 | + <DoubleAnimation RepeatBehavior="Forever" Storyboard.TargetName="PART_Grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(RotateTransform.Angle)" To="360" Duration="0:0:0.784" /> |
| 4067 | + </Storyboard> |
| 4068 | + </Grid.Resources> |
| 4069 | + <Grid.Triggers> |
| 4070 | + <EventTrigger RoutedEvent="Grid.Loaded"> |
| 4071 | + <BeginStoryboard Storyboard="{StaticResource WD.PlayStoryboard}" /> |
| 4072 | + </EventTrigger> |
| 4073 | + </Grid.Triggers> |
4064 | 4074 | <Grid.RenderTransform> |
4065 | 4075 | <RotateTransform /> |
4066 | 4076 | </Grid.RenderTransform> |
|
5915 | 5925 | <Trigger Property="ShowType" Value="Tag"> |
5916 | 5926 | <Setter TargetName="PART_SimpleWrapPanel" Property="Visibility" Value="Visible" /> |
5917 | 5927 | <Setter TargetName="PART_EditableTextBox" Property="Visibility" Value="Collapsed" /> |
| 5928 | + <Setter TargetName="PART_SimpleWrapPanel" Property="MinHeight" Value="21.6" /> |
5918 | 5929 | </Trigger> |
5919 | 5930 | <Trigger SourceName="PART_ToggleButton" Property="IsChecked" Value="True"> |
5920 | 5931 | <Trigger.EnterActions> |
|
0 commit comments