Skip to content

This repository contains a sample on How to customize the Schedule view label format in the Syncfusion Xamarin.Forms Schedule (SfSchedule)?

Notifications You must be signed in to change notification settings

SyncfusionExamples/schedule-view-label-format-xamarin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

How to customize the Schedule view label format in Xamarin.Forms (SfSchedule) ?

You can customize the schedule view label by using TimeFormat property in each ScheduleView in Xamarin.Forms SfSchedule.

You can also refer the following article.

https://www.syncfusion.com/kb/11313/how-to-customize-the-schedule-view-label-format-in-xamarin-forms-sfschedule

DayView

Customize the DayView label by setting TimeFormat property in DayLabelSettings.

<schedule:SfSchedule.DayViewSettings>
                    <schedule:DayViewSettings>
                        <schedule:DayViewSettings.DayLabelSettings>
                            <schedule:DayLabelSettings TimeFormat="hh:mm"/>
                        </schedule:DayViewSettings.DayLabelSettings>
                    </schedule:DayViewSettings>
</schedule:SfSchedule.DayViewSettings>

WeekView

Customize the WeekView label by setting TimeFormat property in WeekLabelSettings.

<schedule:SfSchedule.WeekViewSettings>
                    <schedule:WeekViewSettings>
                        <schedule:WeekViewSettings.WeekLabelSettings>
                            <schedule:WeekLabelSettings TimeFormat="hh:mm"/>
                        </schedule:WeekViewSettings.WeekLabelSettings>
                    </schedule:WeekViewSettings>
</schedule:SfSchedule.WeekViewSettings>

WorkWeekView

Customize the WorkWeekView label by setting TimeFormat property in WorkWeekLabelSettings.

<schedule:SfSchedule.WorkWeekViewSettings>
                    <schedule:WorkWeekViewSettings>
                        <schedule:WorkWeekViewSettings.WorkWeekLabelSettings>
                            <schedule:WorkWeekLabelSettings TimeFormat="hh:mm"/>
                        </schedule:WorkWeekViewSettings.WorkWeekLabelSettings>
                    </schedule:WorkWeekViewSettings>
</schedule:SfSchedule.WorkWeekViewSettings>

TimelineView

Customize the TimelineView label by setting TimeFormat property in of LabelSettings.

<schedule:SfSchedule.TimelineViewSettings>
                    <schedule:TimelineViewSettings>
                        <schedule:TimelineViewSettings.LabelSettings>
                            <schedule:TimelineLabelSettings TimeFormat="hh:mm"/>
                        </schedule:TimelineViewSettings.LabelSettings>
                    </schedule:TimelineViewSettings>
</schedule:SfSchedule.TimelineViewSettings>

About

This repository contains a sample on How to customize the Schedule view label format in the Syncfusion Xamarin.Forms Schedule (SfSchedule)?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages