Card Message

Each card needs to have an Author that is passed through its constructor.

The most basic card is the CardMessage. It can display data in a structured manner through the following properties.

  • Title
  • SubTitle
  • Text

Example 1: Defining an CardMessage

        CardMessage cardMEssage = new CardMessage(this.currentAuthor); 
        cardMEssage.ActionResultsOrientation = Orientation.Vertical; 
        cardMEssage.Title = "Peter Johnson"; 
        cardMEssage.SubTitle = "Senior Front-end Developer "; 
        cardMEssage.Text = "Peter has an experience of 5 years as a front-end developer."; 
 
        chat.AddMessage(cardMEssage); 

Figure 3: Defining CardMessage

Defining ImageCard

See Also

In this article
Not finding the help you need? Improve this article