MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SchedulerTimelineView

    Show / Hide Table of Contents

    Class SchedulerTimelineView

    Represents a class which is used to configure all the properties of timeline day, timeline week, timeline workweek and timeline month views of the SfScheduler.

    Inheritance
    System.Object
    SchedulerTimeSlotView
    SchedulerTimelineView
    Inherited Members
    SchedulerTimeSlotView.StartHourProperty
    SchedulerTimeSlotView.EndHourProperty
    SchedulerTimeSlotView.TimeIntervalProperty
    SchedulerTimeSlotView.TimeFormatProperty
    SchedulerTimeSlotView.NonWorkingDaysProperty
    SchedulerTimeSlotView.MinimumAppointmentDurationProperty
    SchedulerTimeSlotView.NumberOfVisibleDaysProperty
    SchedulerTimeSlotView.TimeRulerTextStyleProperty
    SchedulerTimeSlotView.TimeRegionsProperty
    SchedulerTimeSlotView.ShowCurrentTimeIndicatorProperty
    SchedulerTimeSlotView.CurrentTimeIndicatorBrushProperty
    SchedulerTimeSlotView.ViewHeaderSettingsProperty
    SchedulerTimeSlotView.AppointmentTemplateProperty
    SchedulerTimeSlotView.ViewHeaderTemplateProperty
    SchedulerTimeSlotView.TimeRegionTemplateProperty
    SchedulerTimeSlotView.StartHour
    SchedulerTimeSlotView.EndHour
    SchedulerTimeSlotView.TimeInterval
    SchedulerTimeSlotView.TimeFormat
    SchedulerTimeSlotView.NonWorkingDays
    SchedulerTimeSlotView.MinimumAppointmentDuration
    SchedulerTimeSlotView.TimeRulerTextStyle
    SchedulerTimeSlotView.TimeRegions
    SchedulerTimeSlotView.ShowCurrentTimeIndicator
    SchedulerTimeSlotView.CurrentTimeIndicatorBrush
    SchedulerTimeSlotView.ViewHeaderSettings
    SchedulerTimeSlotView.AppointmentTemplate
    SchedulerTimeSlotView.ViewHeaderTemplate
    SchedulerTimeSlotView.TimeRegionTemplate
    SchedulerTimeSlotView.NumberOfVisibleDays
    Namespace: Syncfusion.Maui.Scheduler
    Assembly: Syncfusion.Maui.Scheduler.dll
    Syntax
    public class SchedulerTimelineView : SchedulerTimeSlotView

    Constructors

    SchedulerTimelineView()

    Declaration
    public SchedulerTimelineView()

    Fields

    TimeIntervalWidthProperty

    Identifies the TimeIntervalWidth dependency property.

    Declaration
    public static readonly BindableProperty TimeIntervalWidthProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for TimeIntervalWidth dependency property.

    TimeRulerHeightProperty

    Identifies the TimeRulerHeight dependency property.

    Declaration
    public static readonly BindableProperty TimeRulerHeightProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for TimeRulerHeight dependency property.

    Properties

    TimeIntervalWidth

    Gets or sets the width for each time slot cell to layout within this in timeline views of the SfScheduler.

    Declaration
    public double TimeIntervalWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 50 used to specify the time interval width for the timeline views.

    Remarks

    The time interval width can be adjusted based on screen width by changing the value of this property to -1. It will auto-fit to the screen width.

    Examples

    The below examples shows, how to use the TimeIntervalWidth property of SchedulerTimelineView in the SfScheduler.

    • XAML
    • C#
    <schedule:SfScheduler x:Name="Scheduler"
                          View="TimelineWeek">
       <schedule:SfScheduler.TimelineView>
          <schedule:SchedulerTimelineView TimeIntervalWidth = "200" />
       </schedule:SfScheduler.TimelineView>
    </schedule:SfScheduler>
    this.Scheduler.View = SchedulerView.TimelineWeek;
    this.Scheduler.TimelineView.TimeIntervalWidth = 200;
    See Also
    TimelineDay
    TimelineWeek
    TimelineWorkWeek
    TimelineMonth

    TimeRulerHeight

    Gets or sets the height for the time ruler view to layout within this in timeline views of the SfScheduler.

    Declaration
    public double TimeRulerHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 30 used to specify the time ruler height for timeline views.

    Remarks

    It will be applicable to TimelineDay, TimelineWeek and TimelineWorkWeek views only.

    Examples

    The below examples shows, how to use the TimeRulerHeight property of SchedulerTimelineView in the SfScheduler.

    • XAML
    • C#
    <schedule:SfScheduler x:Name="Scheduler"
                          View="TimelineWeek">
       <schedule:SfScheduler.TimelineView>
          <schedule:SchedulerTimelineView TimeRulerHeight = "100" />
       </schedule:SfScheduler.TimelineView>
    </schedule:SfScheduler>
    this.Scheduler.View = SchedulerView.TimelineWeek;
    this.Scheduler.TimelineView.TimeRulerHeight = 100;
    See Also
    TimelineDay
    TimelineWeek
    TimelineWorkWeek
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved