Card Message
The most basic card is the CardMessage
. It can display data in a structured manner through the following properties:
-
Title
—Gets or sets the title for the CardMessage instance. It is of the type ofstring
. -
SubTitle
—Gets or sets the subtitle for the CardMessage instance. It is of the type ofstring
. -
Text
—Gets or sets the text for the CardMessage instance. It is of the type ofstring
.
Each card needs to have an
Author
that is passed through its constructor.
Defining a CardMessage
CardMessage cardMessage = new CardMessage(this.currentAuthor);
cardMessage.ActionResultsOrientation = Orientation.Vertical;
cardMessage.Title = "Stenly Grigorov";
cardMessage.SubTitle = "Senior Front-end Developer ";
cardMessage.Text = "Stenly has an experience of 5 years as a front-end developer.";
chat.AddMessage(cardMessage);