New to Telerik UI for WinUI? Download free 30-day trial

DataForm Message

The DataFormMessage mimics the RadDataForm control for displaying its data. It exposes the following properties:

  • DisplayPosition—This property is of the type of the MessageDisplayPosition and allows you to specify the position of the message.
  • Author—The author of the message.
  • Item—This property holds the object that the DataFormMessage will edit.
  • CreationDate—This property holds a DateTime object of the message's creation date.
  • PropertyNames—This property is of the type of IEnumerable<string>. It holds the names of the properties of the object passed to the Item property.

Defining a DataFormMessage

Club chelsea = new Club() 
    Name = "Chelsea", 
    StadiumCapacity = 42055, 
    Established = new DateTime(1905, 1, 1) 
List<string> listProperties = new List<string> 
DataFormMessage dataFormMessage = new DataFormMessage(MessageDisplayPosition.Inline, this.  currentAuthor, chelsea, listProperties);; 
RadChat with a DataFormMessage

RadChat with a DataFormMessage

In this article
Not finding the help you need?