Skip to main content

DayView.Days Property

Gets or sets days the View shows.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

NuGet Package: DevExpress.XamarinForms.Scheduler

Declaration

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

Property Value

Type Description
IEnumerable<DateTime>

A collection of days the View shows.

Example

This example demonstrates how to make the Day View show days you are interested in:

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