|
@@ -54,37 +54,37 @@
|
|
|
<TextBlock Text="排序方式" Margin="0,25,0,0"/>
|
|
|
|
|
|
<hc:UniformSpacingPanel Spacing="10" Margin="20,8,0,0">
|
|
|
- <RadioButton x:Name="CustomSort" Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
|
|
|
- Style="{StaticResource RadioButtonIcon}" Content="自定义"
|
|
|
+ <RadioButton x:Name="CustomSort" Margin="10,0,0,0"
|
|
|
+ Style="{StaticResource MyRadioBtnStyle}" Content="自定义"
|
|
|
Tag="1"
|
|
|
hc:IconElement.Geometry="{StaticResource CustomSort}"
|
|
|
PreviewMouseLeftButtonDown="SortType_PreviewMouseLeftButtonDown"
|
|
|
IsChecked="{Binding IconSortType, Mode=OneWay, Converter={StaticResource SortTypeConvert}, ConverterParameter=1}"/>
|
|
|
|
|
|
- <RadioButton x:Name="CountUpSort" Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
|
|
|
+ <RadioButton x:Name="CountUpSort" Margin="10,0,0,0"
|
|
|
hc:IconElement.Geometry="{StaticResource UpSort}"
|
|
|
- Style="{StaticResource RadioButtonIcon}" Content="使用次数"
|
|
|
+ Style="{StaticResource MyRadioBtnStyle}" Content="使用次数"
|
|
|
Tag="2"
|
|
|
PreviewMouseLeftButtonDown="SortType_PreviewMouseLeftButtonDown"
|
|
|
IsChecked="{Binding IconSortType, Mode=OneWay, Converter={StaticResource SortTypeConvert}, ConverterParameter=2}"/>
|
|
|
|
|
|
- <RadioButton x:Name="CountLowSort" Margin="10,0,0,0" Visibility="Collapsed" Background="{DynamicResource SecondaryRegionBrush}"
|
|
|
+ <RadioButton x:Name="CountLowSort" Margin="10,0,0,0" Visibility="Collapsed"
|
|
|
hc:IconElement.Geometry="{StaticResource LowSort}"
|
|
|
- Style="{StaticResource RadioButtonIcon}" Content="使用次数"
|
|
|
+ Style="{StaticResource MyRadioBtnStyle}" Content="使用次数"
|
|
|
Tag="3"
|
|
|
PreviewMouseLeftButtonDown="SortType_PreviewMouseLeftButtonDown"
|
|
|
IsChecked="{Binding IconSortType, Mode=OneWay, Converter={StaticResource SortTypeConvert}, ConverterParameter=3}"/>
|
|
|
|
|
|
- <RadioButton x:Name="NameUpSort" Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
|
|
|
+ <RadioButton x:Name="NameUpSort" Margin="10,0,0,0"
|
|
|
hc:IconElement.Geometry="{StaticResource UpSort}"
|
|
|
- Style="{StaticResource RadioButtonIcon}" Content="名称"
|
|
|
+ Style="{StaticResource MyRadioBtnStyle}" Content="名称"
|
|
|
Tag="4"
|
|
|
PreviewMouseLeftButtonDown="SortType_PreviewMouseLeftButtonDown"
|
|
|
IsChecked="{Binding IconSortType, Mode=OneWay, Converter={StaticResource SortTypeConvert}, ConverterParameter=4}"/>
|
|
|
|
|
|
- <RadioButton x:Name="NameLowSort" Margin="10,0,0,0" Visibility="Collapsed" Background="{DynamicResource SecondaryRegionBrush}"
|
|
|
+ <RadioButton x:Name="NameLowSort" Margin="10,0,0,0" Visibility="Collapsed"
|
|
|
hc:IconElement.Geometry="{StaticResource LowSort}"
|
|
|
- Style="{StaticResource RadioButtonIcon}" Content="名称"
|
|
|
+ Style="{StaticResource MyRadioBtnStyle}" Content="名称"
|
|
|
Tag="5"
|
|
|
PreviewMouseLeftButtonDown="SortType_PreviewMouseLeftButtonDown"
|
|
|
IsChecked="{Binding IconSortType, Mode=OneWay, Converter={StaticResource SortTypeConvert}, ConverterParameter=5}"/>
|
|
@@ -92,14 +92,14 @@
|
|
|
</hc:UniformSpacingPanel>
|
|
|
<TextBlock Text="更新源" Margin="0,25,0,0"/>
|
|
|
<hc:UniformSpacingPanel Spacing="10" Margin="20,8,0,0">
|
|
|
- <RadioButton Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
|
|
|
- Style="{StaticResource RadioButtonIcon}" Content="Gitee"
|
|
|
+ <RadioButton Margin="10,0,0,0"
|
|
|
+ Style="{StaticResource MyRadioBtnStyle}" Content="Gitee"
|
|
|
hc:IconElement.Geometry="{StaticResource Gitee}"
|
|
|
Foreground="#B32225"
|
|
|
IsChecked="{Binding UpdateType, Mode=TwoWay, Converter={StaticResource UpdateTypeConvert}, ConverterParameter=1}"/>
|
|
|
- <RadioButton Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
|
|
|
+ <RadioButton Margin="10,0,0,0"
|
|
|
hc:IconElement.Geometry="{StaticResource GitHub}"
|
|
|
- Style="{StaticResource RadioButtonIcon}" Content="GitHub"
|
|
|
+ Style="{StaticResource MyRadioBtnStyle}" Content="GitHub"
|
|
|
Foreground="Black"
|
|
|
IsChecked="{Binding UpdateType, Mode=TwoWay, Converter={StaticResource UpdateTypeConvert}, ConverterParameter=2}"/>
|
|
|
</hc:UniformSpacingPanel>
|