Back to Devexpress

DayView.Days Property

maui-devexpress-dot-maui-dot-scheduler-dot-dayview-c5cca0e2.md

latest1.2 KB
Original Source

DayView.Days Property

Gets or sets days the View shows. This is a bindable property.

Namespace : DevExpress.Maui.Scheduler

Assembly : DevExpress.Maui.Scheduler.dll

NuGet Package : DevExpress.Maui.Scheduler

Declaration

csharp
public IEnumerable<DateTime> Days { get; set; }

Property Value

TypeDescription
IEnumerable<DateTime>

The collection of days that the View displays.

|

Example

This example makes the Day View show days you are interested in:

cs
dayView.Days = new List<DateTime> {
    DateTime.Now,
    DateTime.Now.AddDays(3),
    DateTime.Now.AddDays(5)
}

Note that DayCount automatically fits the number of days in the Days collection.

See Also

DayView Class

DayView Members

DevExpress.Maui.Scheduler Namespace