Skip to content

Commit

Permalink
feat(PersonPicture): Overwriteable properties for version 1 style
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-weber authored and ahmed605 committed Sep 13, 2023
1 parent a29aa80 commit 1345f5b
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

<Style x:Key="DefaultPersonPictureStyle" TargetType="local:PersonPicture">
<Setter Property="Foreground" Value="{ThemeResource PersonPictureForegroundThemeBrush}" />
<Setter Property="Background" Value="{ThemeResource PersonPictureEllipseFillThemeBrush}"/>
<Setter Property="BorderBrush" Value="{ThemeResource SystemColorButtonTextColor}"/>
<Setter Property="BorderThickness" Value="{ThemeResource PersonPictureEllipseStrokeThickness}"/>
<Setter Property="Width" Value="100" />
<Setter Property="Height" Value="100" />
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
Expand Down Expand Up @@ -73,9 +76,9 @@
</VisualStateManager.VisualStateGroups>

<Ellipse
Fill="{ThemeResource PersonPictureEllipseFillThemeBrush}"
Stroke="{ThemeResource SystemColorButtonTextColor}"
StrokeThickness="{ThemeResource PersonPictureEllipseStrokeThickness}"
Fill="{TemplateBinding Background}"
Stroke="{TemplateBinding BorderBrush}"
StrokeThickness="{TemplateBinding BorderThickness}"
Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}" />

Expand Down

0 comments on commit 1345f5b

Please sign in to comment.