Loading...
Loading...
Implement Syncfusion WPF SfAvatarView for displaying user profile avatars and initials. Use this when working with avatar controls, user profile displays, group avatars, or badge integration in WPF. Covers all content types (Default, Initials, CustomImage, AvatarCharacter, Group, ContentTemplate), visual styles (Circle, Square, custom shape/size), appearance customization, and SfBadge integration.
npx skill4agent add syncfusion/wpf-ui-components-skills syncfusion-wpf-avatar-viewSfAvatarViewSyncfusion.Shared.WPFxmlns:syncfusion="http://schemas.syncfusion.com/wpf"SfAvatarView| ContentType | What it Shows |
|---|---|
| Built-in Avatar1 character, no setup needed |
| Text initials extracted from |
| User-supplied image via |
| One of 25 pre-built character images |
| Multiple avatars from a bound collection |
AvatarShapeAvatarSizeDefaultInitialsAvatarNameInitialsTypeCustomImageImageSourceAvatarCharacterGroupGroupSourceContentTemplateAvatarShapeAvatarSizeBorderBrushBorderThicknessBackgroundLinearGradientBrushRadialGradientBrushFontFamilyFontSizeForegroundSfBadgeSfAvatarViewHorizontalPositionVerticalPositionxmlns:syncfusion="http://schemas.syncfusion.com/wpf"<syncfusion:SfAvatarView ContentType="Initials"
AvatarName="Alex"
InitialsType="DoubleCharacter"
AvatarShape="Circle"
AvatarSize="Large" /><syncfusion:SfAvatarView ContentType="CustomImage"
AvatarShape="Circle"
AvatarSize="Large"
ImageSource="pack://application:,,,/Assets/profile.png" /><syncfusion:SfAvatarView ContentType="AvatarCharacter"
AvatarCharacter="Avatar5"
AvatarShape="Circle"
AvatarSize="Medium" />ContentType="CustomImage"ImageSourceContentType="Initials"AvatarNameContentType="AvatarCharacter"ContentTemplateDataTemplateContentType="Group"GroupSourceInitialsMemberPathImageSourceMemberPathBackgroundColorMemberPathInitialsColorMemberPathAvatarShape="Circle"AvatarSizeAvatarShape="Square"AvatarSizeAvatarShape="Custom"HeightWidthCornerRadius| Property | Type | Purpose |
|---|---|---|
| | Selects rendering mode |
| | Source for initials extraction |
| | Single or double character initials |
| | Image URI for CustomImage mode |
| | Pre-built character enum (Avatar1–Avatar25) |
| | Circle / Square / Custom |
| | ExtraSmall / Small / Medium / Large / ExtraLarge |
| | Data collection for Group mode |
| | Custom template for avatar content |
| | Border color |
| | Border width |
| | Background fill (solid or gradient) |
| | Rounding for Custom shape |