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

Calendar Message

The CalendarMessage operates with DateTime value type. It exposes the following properties:

  • SelectedDate—This property holds the selected date from the calendar message.
  • 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.
  • CreationDate—This property holds a DateTime object of the message's creation date.
  • DisplayDate—This parameter is used to control the visible time period when adding the message.

The CreationDate and DisplayDate parameters are optional. If the SelectedDate corresponds to a different time period, it would not be visible initially.

Defining a CalendarMessage

var calendarMessage = new CalendarMessage(MessageDisplayPosition.Inline, this.currentAuthor, DateTime.Now); 
this.chat.AddMessage(calendarMessage); 
RadChat with a CalendarMessage

RadChat with a CalendarMessage

In this article
Not finding the help you need?