Back to Devexpress

SchedulerControl.FirstDayOfWeek Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-ff8c5062.md

latest3.0 KB
Original Source

SchedulerControl.FirstDayOfWeek Property

Gets the day which the SchedulerControl‘s week starts from.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public DayOfWeek FirstDayOfWeek { get; set; }
vb
Public Property FirstDayOfWeek As DayOfWeek

Property Value

TypeDescription
DayOfWeek

A DayOfWeek enumeration value specifying the start day of the week for the Scheduler. The default is DayOfWeek.Sunday.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the FirstDayOfWeek property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/CS/DXSchedulerSelection/MainWindow.xaml#L49

xml
ActiveViewIndex="0"
FirstDayOfWeek="Monday"
GroupType="Resource">

wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml#L18

xml
AllowReminders="False"
FirstDayOfWeek="Monday"
CustomAllowAppointmentConflicts="customAllowAppointmentConflictsHandler"

wpf-scheduler-handle-customappointmentbackground-event-to-change-appointment-background/CS/CustomAppointmentBackground/MainWindow.xaml#L14

xml
GroupType="Resource"
FirstDayOfWeek="Monday"
ActiveViewIndex="0" CustomAppointmentBackground="SchedulerControl_CustomAppointmentBackground">

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace