DayView Class
The view that displays appointments for a specific day or several days.
Namespace: DevExpress.Maui.Scheduler
Assembly: DevExpress.Maui.Scheduler.dll
NuGet Package: DevExpress.Maui.Scheduler
Declaration
public class DayView :
DayViewBase
Remarks
The image below highlights elements the View includes:
- Time Ruler
- Time Ruler Cell
- Time Ruler Header
- Header Item
- All Day Area
- All Day Appointment
- All Day Cell
- Appointment
- Day Cell
The following table lists basic settings that configure the view:
Property | Description |
---|---|
Gets or sets the number of days the Day View displays. This is a bindable property. | |
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. |
Example
The following example shows appointments for a day:
<dx:DayView DayCount="{Binding DaysCount, Mode=TwoWay}" Start="{Binding Start}" Tap="DayView_OnTap">
<dx:DayView.DataStorage>
<dx:SchedulerDataStorage x:Name="storage">
<dx:SchedulerDataStorage.DataSource>
<dx:DataSource AppointmentsSource="{Binding Appointments}">
<dx:DataSource.AppointmentMappings>
<dx:AppointmentMappings Type="AppointmentType"
AllDay="AllDay"
Start="Start"
End="End"
Id="Id"
Description="Description"
Location="Location"
RecurrenceInfo="RecurrenceInfo"
StatusId="Status"
Subject="Subject"
LabelId="Label"
TimeZoneId="TimeZoneId" />
</dx:DataSource.AppointmentMappings>
</dx:DataSource>
</dx:SchedulerDataStorage.DataSource>
</dx:SchedulerDataStorage>
</dx:DayView.DataStorage>
</dx:DayView>
Implements
Microsoft.Maui.Controls.ITabStopElement
Microsoft.Maui.IFrameworkElement
Inheritance
Object
BindableObject
Element
NavigableElement
VisualElement
View
DevExpress.Maui.Core.Internal.DXViewElement
ViewBase
DayViewBase
DayView
See Also