Class AvatarContentType
Specifies the various content types for the SfAvatarView.
Inheritance
System.Object
AvatarContentType
Namespace: Syncfusion.UI.Xaml.Core
Assembly: Syncfusion.Core.WinUI.dll
Syntax
public sealed class AvatarContentType : Enum
Fields
AvatarCharacter
,
Displays the pre-defined avatar image as avatar based on the AvatarCharacter property value.
Declaration
public const AvatarContentType AvatarCharacter
Field Value
| Type |
|---|
| AvatarContentType |
CustomContent
Displays the custom content as the avatar.
Declaration
public const AvatarContentType CustomContent
Field Value
| Type |
|---|
| AvatarContentType |
CustomImage
Displays the custom image as the avatar.
Declaration
public const AvatarContentType CustomImage
Field Value
| Type |
|---|
| AvatarContentType |
Default
Displays the AvatarCharacter Avatar1 as the default avatar view. If the values for Group, CustomImage, and Initials content types are not provided, the default avatar view will be displayed.
Declaration
public const AvatarContentType Default
Field Value
| Type |
|---|
| AvatarContentType |
Group
Displays a group view as the avatar with the maximum of three views.
Declaration
public const AvatarContentType Group
Field Value
| Type |
|---|
| AvatarContentType |
Initials
Displays the initials as the avatar and allows single and double characters.
Declaration
public const AvatarContentType Initials
Field Value
| Type |
|---|
| AvatarContentType |