maui-devexpress-dot-maui-dot-scheduler-e100e67b.md
The View that displays appointments scheduled for a specific work week.
Namespace : DevExpress.Maui.Scheduler
Assembly : DevExpress.Maui.Scheduler.dll
NuGet Package : DevExpress.Maui.Scheduler
[DXLicenseMAUI]
public class WorkWeekView :
DayViewBase
The image below highlights elements the view includes:
Note
The following table lists basic settings that configure the view:
|
Property
|
Description
| | --- | --- | |
|
Gets or sets whether the View should show only WorkTime. This is a bindable property.
| |
|
Gets or sets how the View snaps the scheduler’s appointments. This is a bindable property.
|
The following example customizes WorkWeekView cells:
<dx:WorkWeekView>
<dx:WorkWeekView.DataStorage>
<dx:SchedulerDataStorage>
<dx:SchedulerDataStorage.DataSource>
<dx:DataSource AppointmentsSource="{Binding MedicalAppointments}">
<dx:DataSource.AppointmentMappings>
<dx:AppointmentMappings
Id="Id"
Start="StartTime"
End="EndTime"
Subject="Subject"
LabelId="LabelId"
Location="Location"/>
</dx:DataSource.AppointmentMappings>
</dx:DataSource>
</dx:SchedulerDataStorage.DataSource>
</dx:SchedulerDataStorage>
</dx:WorkWeekView.DataStorage>
<!--Customize the date header appearance.-->
<dx:WorkWeekView.HeaderItemAppearance>
<dx:DayViewHeaderItemAppearance BackgroundColor="#dce0ec"
TodayDayNumberBackgroundColor="#fff7c2"
TodayDayNumberTextColor="{StaticResource redText}"
TodayWeekDayTextColor="{StaticResource redText}"/>
</dx:WorkWeekView.HeaderItemAppearance>
<!--Customize the time ruler appearance.-->
<dx:WorkWeekView.TimeRulerCellAppearance>
<dx:TimeRulerCellAppearance BackgroundColor="#dce0ec"
IntervalTickColor="#8e9bbc" IntervalTickLength="15"
SlotTickColor="#8e9bbc" SlotTickLength="7"/>
</dx:WorkWeekView.TimeRulerCellAppearance>
<dx:WorkWeekView.TimeRulerHeaderAppearance>
<dx:TimeRulerHeaderAppearance BackgroundColor="#dce0ec"/>
</dx:WorkWeekView.TimeRulerHeaderAppearance>
<!--Customize the all-day area appearance.-->
<dx:WorkWeekView.AllDayCellAppearance>
<dx:AllDayAreaCellAppearance BackgroundColor="#f1f1f1"
TodayBackgroundColor="#fff7c2"/>
</dx:WorkWeekView.AllDayCellAppearance>
<!--Customize the cell appearance.-->
<dx:WorkWeekView.CellAppearance>
<dx:DayViewCellAppearance WorkTimeBackgroundColor="White"
BackgroundColor="#f1f1f1"
TodayBackgroundColor="#fff7c2"
BorderColor="#bdbdbd"
SlotBorderColor="#e1e1e1">
<dx:DayViewCellAppearance.Customizer>
<local:WorkWeekViewCellCustomizer/>
</dx:DayViewCellAppearance.Customizer>
</dx:DayViewCellAppearance>
</dx:WorkWeekView.CellAppearance>
</dx:WorkWeekView>
Show 14 items
Microsoft.Maui.Controls.ITabStopElement
Microsoft.Maui.IFrameworkElement
System.Object BindableObject Element NavigableElement VisualElement View DevExpress.Maui.Core.Internal.DXViewElement ViewBase DayViewBase WorkWeekView
YieldIfNotNull<WorkWeekView>()
See Also