|
2 | 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | 3 | xmlns:local="clr-namespace:ByteSync.Views.Misc"> |
4 | 4 |
|
5 | | - <Style Selector="local|LinearProgress"> |
| 5 | + <Style Selector="local|ActivityIndicator"> |
6 | 6 | <Setter Property="Background" Value="Transparent" /> |
7 | 7 | <Setter Property="Foreground" Value="{DynamicResource SystemAccentColor}" /> |
8 | 8 | <Setter Property="IsHitTestVisible" Value="False" /> |
|
23 | 23 | Padding="{TemplateBinding Padding}"> |
24 | 24 |
|
25 | 25 | <Grid ColumnDefinitions="2*, *, 2*, *, 2*, *, 2*"> |
26 | | - <Border Grid.Column="0" x:Name="R1" Classes="cR1" |
| 26 | + <Border Grid.Column="0" x:Name="R1" Classes="Shape1" |
27 | 27 | Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RectangleHeight}" |
28 | 28 | CornerRadius="2" |
29 | 29 | Background="Transparent" |
30 | 30 | BorderBrush="{DynamicResource TextControlBorderBrush}" |
31 | 31 | BorderThickness="1"/> |
32 | 32 |
|
33 | | - <Border Grid.Column="2" x:Name="R2" Classes="cR2" |
| 33 | + <Border Grid.Column="2" x:Name="R2" Classes="Shape2" |
34 | 34 | Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RectangleHeight}" |
35 | 35 | CornerRadius="2" |
36 | 36 | Background="Transparent" |
37 | 37 | BorderBrush="{DynamicResource TextControlBorderBrush}" |
38 | 38 | BorderThickness="1"/> |
39 | 39 |
|
40 | | - <Border Grid.Column="4" x:Name="R3" Classes="cR3" |
| 40 | + <Border Grid.Column="4" x:Name="R3" Classes="Shape3" |
41 | 41 | Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RectangleHeight}" |
42 | 42 | CornerRadius="2" |
43 | 43 | Background="Transparent" |
44 | 44 | BorderBrush="{DynamicResource TextControlBorderBrush}" |
45 | 45 | BorderThickness="1"/> |
46 | 46 |
|
47 | | - <Border Grid.Column="6" x:Name="R4" Classes="cR4" |
| 47 | + <Border Grid.Column="6" x:Name="R4" Classes="Shape4" |
48 | 48 | Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RectangleHeight}" |
49 | 49 | CornerRadius="2" |
50 | 50 | Background="Transparent" |
|
57 | 57 | </Setter> |
58 | 58 | </Style> |
59 | 59 |
|
60 | | - <Style Selector="local|LinearProgress:active Border.cR1"> |
| 60 | + <Style Selector="local|ActivityIndicator:active Border.Shape1"> |
61 | 61 | <Style.Animations> |
62 | 62 | <Animation Duration="0:0:4.0" IterationCount="Infinite" Delay="0" FillMode="None"> |
63 | 63 | <KeyFrame KeyTime="0:0:0.0"> |
|
80 | 80 | </Style.Animations> |
81 | 81 | </Style> |
82 | 82 |
|
83 | | - <Style Selector="local|LinearProgress:active Border.cR2"> |
| 83 | + <Style Selector="local|ActivityIndicator:active Border.Shape2"> |
84 | 84 | <Style.Animations> |
85 | 85 | <Animation Duration="0:0:4.0" IterationCount="Infinite" Delay="0" FillMode="None"> |
86 | 86 | <KeyFrame KeyTime="0:0:0.0"> |
|
111 | 111 | </Style.Animations> |
112 | 112 | </Style> |
113 | 113 |
|
114 | | - <Style Selector="local|LinearProgress:active Border.cR3"> |
| 114 | + <Style Selector="local|ActivityIndicator:active Border.Shape3"> |
115 | 115 | <Style.Animations> |
116 | 116 | <Animation Duration="0:0:4.0" IterationCount="Infinite" Delay="0" FillMode="None"> |
117 | 117 | <KeyFrame KeyTime="0:0:0.0"> |
|
142 | 142 | </Style.Animations> |
143 | 143 | </Style> |
144 | 144 |
|
145 | | - <Style Selector="local|LinearProgress:active Border.cR4"> |
| 145 | + <Style Selector="local|ActivityIndicator:active Border.Shape4"> |
146 | 146 | <Style.Animations> |
147 | 147 | <Animation Duration="0:0:4.0" IterationCount="Infinite" Delay="0" FillMode="None"> |
148 | 148 | <KeyFrame KeyTime="0:0:0.0"> |
|
169 | 169 | </Style.Animations> |
170 | 170 | </Style> |
171 | 171 |
|
172 | | - <Style Selector="local|LinearProgress:inactive Border.cR1"> |
| 172 | + <Style Selector="local|ActivityIndicator:inactive Border.Shape1"> |
173 | 173 | <Setter Property="Background" Value="Transparent"/> |
174 | 174 | <Setter Property="BorderBrush" Value="{DynamicResource TextControlBorderBrush}"/> |
175 | 175 | </Style> |
176 | 176 |
|
177 | | - <Style Selector="local|LinearProgress:inactive Border.cR2"> |
| 177 | + <Style Selector="local|ActivityIndicator:inactive Border.Shape2"> |
178 | 178 | <Setter Property="Background" Value="Transparent"/> |
179 | 179 | <Setter Property="BorderBrush" Value="{DynamicResource TextControlBorderBrush}"/> |
180 | 180 | </Style> |
181 | 181 |
|
182 | | - <Style Selector="local|LinearProgress:inactive Border.cR3"> |
| 182 | + <Style Selector="local|ActivityIndicator:inactive Border.Shape3"> |
183 | 183 | <Setter Property="Background" Value="Transparent"/> |
184 | 184 | <Setter Property="BorderBrush" Value="{DynamicResource TextControlBorderBrush}"/> |
185 | 185 | </Style> |
186 | 186 |
|
187 | | - <Style Selector="local|LinearProgress:inactive Border.cR4"> |
| 187 | + <Style Selector="local|ActivityIndicator:inactive Border.Shape4"> |
188 | 188 | <Setter Property="Background" Value="Transparent"/> |
189 | 189 | <Setter Property="BorderBrush" Value="{DynamicResource TextControlBorderBrush}"/> |
190 | 190 | </Style> |
|
0 commit comments