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

Represents defaultTitleFormatter in TimelineView

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class TimelineViewAppointmentTitleFormatter : AppointmentTitleFormatter

Inheritance: objectAppointmentTitleFormatterTimelineViewAppointmentTitleFormatter

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

Constructors

C#
public TimelineViewAppointmentTitleFormatter()

Methods

Preserves configured title formats and adapts the default template to the visible timeline scale. Minute, half-hour, and hour scales use time ranges; at the day scale, appointments lasting at least 23 hours, 59 minutes, and 59 seconds omit the time range. Week and larger scales use a date or date range.

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 timeline view whose visible scales determine the default format.

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)