Back to Devexpress

ViewBase.DataStorage Property

maui-devexpress-dot-maui-dot-scheduler-dot-viewbase.md

latest1.5 KB
Original Source

ViewBase.DataStorage Property

Gets or sets the storage that holds scheduler view’s data (appointments, labels and statuses). This is a bindable property.

Namespace : DevExpress.Maui.Scheduler

Assembly : DevExpress.Maui.Scheduler.dll

NuGet Package : DevExpress.Maui.Scheduler

Declaration

csharp
public SchedulerDataStorage DataStorage { get; set; }

Property Value

TypeDescription
SchedulerDataStorage

The data storage for the scheduler view.

|

Example

This example shows how to bind a DayView instance to a data source that stores custom appointment ( MedicalAppointment ) and label ( MedicalAppointmentType ) objects.

  1. Assign a view model object to the content page’s BindingContext property.
  2. Set the DayView.DataStorage property to a SchedulerDataStorage object.
  3. Set the SchedulerDataStorage.DataSource property to a DataSource object and specify the following properties of this object:

See Also

ViewBase Class

ViewBase Members

DevExpress.Maui.Scheduler Namespace