Xamarin.Forms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Card

    Show / Hide Table of Contents

    Class Card

    Represents a class which defines the properties that can be used to customize a card item in the CardMessage.

    Inheritance
    System.Object
    Card
    Implements
    ICard
    System.IDisposable
    Namespace: Syncfusion.XForms.Chat
    Assembly: Syncfusion.SfChat.XForms.dll
    Syntax
    public class Card : BindableObject, ICard, IDisposable

    Constructors

    Card()

    Initializes a new instance of the Card class.

    Declaration
    public Card()

    Fields

    ButtonsProperty

    Identifies the Buttons Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty ButtonsProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    DescriptionProperty

    Identifies the Description Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty DescriptionProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    ImageProperty

    Identifies the Image Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty ImageProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    SubtitleProperty

    Identifies the Subtitle Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty SubtitleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    TitleProperty

    Identifies the Title Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty TitleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    Buttons

    Gets or sets the list of buttons to be displayed at the bottom of the card.

    Declaration
    public IList<CardButton> Buttons { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<CardButton>

    Description

    Gets or sets the description of the card.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    System.String

    Image

    Gets or sets the image to be displayed in the card.

    Declaration
    public ImageSource Image { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.ImageSource

    Subtitle

    Gets or sets the subtitle of the card.

    Declaration
    public string Subtitle { get; set; }
    Property Value
    Type Description
    System.String

    Title

    Gets or sets the title of the card.

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Dispose()

    Disposes the managed resources.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    if true - release both managed and unmanaged resources; if false - release only unmanaged resources.

    Implements

    ICard
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved