Back to Devexpress

DataSource.FetchMode Property

maui-devexpress-dot-maui-dot-scheduler-dot-datasource-f1884bd1.md

latest2.1 KB
Original Source

DataSource.FetchMode Property

Gets or sets whether to process the FetchAppointments event in Bound or Unbound mode. This is a bindable property.

Namespace : DevExpress.Maui.Scheduler

Assembly : DevExpress.Maui.Scheduler.dll

NuGet Package : DevExpress.Maui.Scheduler

Declaration

csharp
public FetchMode FetchMode { get; set; }

Property Value

TypeDefaultDescription
FetchModeBound

The fetch mode.

|

Available values:

NameDescription
Bound

The Result property of the FetchAppointments event accepts data objects.

| | Unbound |

The Result property of the FetchAppointments event accepts appointments.

|

Remarks

The Result property of the FetchAppointments event accepts both data objects and appointments.

To pass data objects to the Result property, set the FetchMode property to Bound. Specify the AppointmentMappings property and map the Id.

To pass appointments to the Result property, set the FetchMode property to Unbound.

See Also

DataSource Class

DataSource Members

DevExpress.Maui.Scheduler Namespace