New to Telerik UI for WinUI? Start a free 30-day trial
DataForm Message
Updated on Mar 26, 2026
The DataFormMessage mimics the RadDataForm control for displaying its data. It exposes the following properties:
DisplayPosition—This property is of the type of theMessageDisplayPositionand 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 ofIEnumerable<string>. It holds the names of the properties of the object passed to theItemproperty.
Defining a DataFormMessage
C#
Club chelsea = new Club()
{
Name = "Chelsea",
StadiumCapacity = 42055,
Established = new DateTime(1905, 1, 1)
};
List<string> listProperties = new List<string>
{
"Name",
"StadiumCapacity",
"Established"
};
DataFormMessage dataFormMessage = new DataFormMessage(MessageDisplayPosition.Inline, this. currentAuthor, chelsea, listProperties);
this.chat.AddMessage(dataFormMessage);
RadChat with a DataFormMessage
