1
1
<ResourceDictionary xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml" >
2
2
3
- <Style x : Key =" NewInfoBadge" TargetType =" InfoBadge" >
4
- <Setter Property =" Padding" Value =" 5,0,5,0" />
5
- <Setter Property =" Template" >
6
- <Setter .Value>
7
- <ControlTemplate TargetType =" InfoBadge" >
8
- <Grid
9
- x : Name =" RootGrid"
10
- Background =" {TemplateBinding Background}"
11
- CornerRadius =" {Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.InfoBadgeCornerRadius}"
12
- Padding =" {TemplateBinding Padding}" >
13
- <TextBlock x : Uid =" SettingsPage_NewInfoBadge" FontSize =" {ThemeResource InfoBadgeValueFontSize}" FontWeight =" SemiBold" HorizontalAlignment =" Center" VerticalAlignment =" Center" />
14
- </Grid >
15
- </ControlTemplate >
16
- </Setter .Value>
17
- </Setter >
18
- </Style >
3
+ <Style x : Key =" NewInfoBadge" TargetType =" InfoBadge" >
4
+ <Setter Property =" Padding" Value =" 5,0,5,0" />
5
+ <Setter Property =" Template" >
6
+ <Setter .Value>
7
+ <ControlTemplate TargetType =" InfoBadge" >
8
+ <Grid
9
+ x : Name =" RootGrid"
10
+ Padding =" {TemplateBinding Padding}"
11
+ Background =" {TemplateBinding Background}"
12
+ CornerRadius =" {Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.InfoBadgeCornerRadius}" >
13
+ <TextBlock
14
+ x : Uid =" SettingsPage_NewInfoBadge"
15
+ HorizontalAlignment =" Center"
16
+ VerticalAlignment =" Center"
17
+ FontSize =" {ThemeResource InfoBadgeValueFontSize}"
18
+ FontWeight =" SemiBold" />
19
+ </Grid >
20
+ </ControlTemplate >
21
+ </Setter .Value>
22
+ </Setter >
23
+ </Style >
19
24
</ResourceDictionary >
0 commit comments