Style class for AvatarView. #2298
Unanswered
OudomMunint
asked this question in
Q&A
Replies: 1 comment
-
<Style x:Key="AvatarViewStyle" TargetType="toolkit:AvatarView">
<Setter Property="Margin" Value="4,4,8,4" />
<Setter Property="BorderColor" Value="Blue" />
<Setter Property="BorderWidth" Value="1" />
<Setter Property="HeightRequest" Value="46" />
<Setter Property="WidthRequest" Value="46" />
</Style> I think there is a bug, somehow HeightRequest and WidthRequest doesn't work, when applying it with styles, they have to be set explicit on the control itself inside the xaml. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I create a style class for an AvatarView? I have a few properties used in a few different avatar views that I'd like to condense into a single style class. I've tried the below code but none worked.
Beta Was this translation helpful? Give feedback.
All reactions