menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContentType - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ContentType

    ContentType enum contains Custom, Initial, AvatarCharacter, and Group. Based on the type only it shows the SfAvatarView.

    Inheritance
    System.Object
    ContentType
    Namespace: Syncfusion.XForms.AvatarView
    Assembly: Syncfusion.Core.XForms.dll
    Syntax
    public sealed class ContentType : Enum

    Fields

    AvatarCharacter

    AvatarCharacter enum contains default font icon and image

    Declaration
    public const ContentType AvatarCharacter
    Field Value
    Type
    ContentType

    Custom

    Custom enum of the avatar type is used for allowing the custom image.

    Declaration
    public const ContentType Custom
    Field Value
    Type
    ContentType

    Default

    Default enum performs automatically set the view.

    Declaration
    public const ContentType Default
    Field Value
    Type
    ContentType

    Group

    Group enum allows group of views in the same view

    Declaration
    public const ContentType Group
    Field Value
    Type
    ContentType

    Initials

    Initials enum of the avatar type is used for InitialsType and allows single and double characters.

    Declaration
    public const ContentType Initials
    Field Value
    Type
    ContentType
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved