BasicCard Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |