Represents defaultTitleFormatter in TimelineView
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class TimelineViewAppointmentTitleFormatter : AppointmentTitleFormatter
Inheritance: objectAppointmentTitleFormatterTimelineViewAppointmentTitleFormatter
Inherited Members
Constructors
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.
public override string GetTitleFormat(AppointmentElement appointmentElement, SchedulerView schedulerView, RadScheduler scheduler)
The appointment element whose title override and appointment determine the result.
schedulerViewSchedulerViewThe timeline view whose visible scales determine the default format.
schedulerRadSchedulerThe Scheduler whose title template or culture-based default is used as a fallback.
Returns:The configured title template, or a layout-adjusted default template.
Overrides: