New to Telerik UI for WinForms? Start a free 30-day trial

Represents defaultTitleFormatter in MonthView

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class MonthViewAppointmentTitleFormatter : AppointmentTitleFormatter

Inheritance: objectAppointmentTitleFormatterMonthViewAppointmentTitleFormatter

Inherited Members AppointmentTitleFormatter.GetDefaultTitleFormat(RadScheduler)AppointmentTitleFormatter.SelectTitleFormat(string, SchedulerView, RadScheduler)AppointmentTitleFormatter.GetTitleFormat(string, SchedulerView, RadScheduler)

Constructors

C#
public MonthViewAppointmentTitleFormatter()

Methods

Preserves configured title formats and adapts the default template for all-day and timed appointments. The default omits the time range for all-day appointments and places it before the summary for timed appointments.

C#
public override string GetTitleFormat(AppointmentElement appointmentElement, SchedulerView schedulerView, RadScheduler scheduler)
Parameters:appointmentElementAppointmentElement

The appointment element whose title override and appointment determine the result.

schedulerViewSchedulerView

The month view whose title template is considered after the element's override.

schedulerRadScheduler

The Scheduler whose title template or culture-based default is used as a fallback.

Returns:

string

The configured title template, or a layout-adjusted default template.

Overrides: AppointmentTitleFormatter.GetTitleFormat(AppointmentElement, SchedulerView, RadScheduler)