ภาษา

BasicCard Class

Definition

Caution

BasicCard is not an Activity Protocol card type (it has no content type) and will be removed in a future release.

A basic card.

[System.Obsolete("BasicCard is not an Activity Protocol card type (it has no content type) and will be removed in a future release.")]
public class BasicCard
[<System.Obsolete("BasicCard is not an Activity Protocol card type (it has no content type) and will be removed in a future release.")>]
type BasicCard = class
Public Class BasicCard
Inheritance
BasicCard
Attributes

Constructors

Name Description
BasicCard()

Initializes a new instance of BasicCard.

BasicCard(String, String, String, IList<CardImage>, IList<CardAction>, CardAction)

Initializes a new instance of BasicCard.

Properties

Name Description
Buttons

Set of actions applicable to the current card.

Images

Array of images for the card.

Subtitle

Subtitle of the card.

Tap

A clickable action.

Text

Text for the card.

Title

Title of the card.

Methods

Name Description
AddButton(CardAction)

Adds a button and returns this card.

AddButton(String, String, Object)

Adds a button by title/type/value and returns this card.

AddButtons(CardAction[])

Adds one or more buttons and returns this card.

AddImage(CardImage)

Adds an image and returns this card.

AddImage(String, String)

Adds an image by URL and returns this card.

Applies to