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

Represents defaultTitleFormatter in DayView

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class DayViewAppointmentTitleFormatter : AppointmentTitleFormatter

Inheritance: objectAppointmentTitleFormatterDayViewAppointmentTitleFormatter

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

Constructors

C#
public DayViewAppointmentTitleFormatter()

Methods

Preserves configured title formats and adapts the default template for all-day appointments and available appointment height. All-day appointments omit the time range; for sufficiently tall timed appointments with a location, it is placed before the location.

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

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

schedulerViewSchedulerView

The day view used to resolve its title template and determine whether the appointment is all-day.

schedulerRadScheduler

The Scheduler used to resolve its title template and culture-based default.

Returns:

string

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

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