New to Telerik UI for WinUIStart 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 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

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

RadChat with a DataFormMessage

Not finding the help you need?
Contact Support