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.
Inherited Members
Namespace: Syncfusion.Maui.Scheduler
Assembly: Syncfusion.Maui.Scheduler.dll
Syntax
public class SchedulerTimelineView : SchedulerTimeSlotView, IThemeElement
Constructors
SchedulerTimelineView()
Initializes a new instance of the SchedulerTimelineView class.
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.
<schedule:SfScheduler x:Name="Scheduler"
View="TimelineWeek">
<schedule:SfScheduler.TimelineView>
<schedule:SchedulerTimelineView TimeIntervalWidth = "200" />
</schedule:SfScheduler.TimelineView>
</schedule:SfScheduler>
See Also
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.
<schedule:SfScheduler x:Name="Scheduler"
View="TimelineWeek">
<schedule:SfScheduler.TimelineView>
<schedule:SchedulerTimelineView TimeRulerHeight = "100" />
</schedule:SfScheduler.TimelineView>
</schedule:SfScheduler>