Skip to main content
All docs
V23.2

DataSource.FetchMode Property

Specifies whether to process the FetchAppointments and FetchTimeRegions events in bound or unbound mode. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public FetchMode FetchMode { get; set; }

Property Value

Type Default Description
FetchMode Bound

A FetchMode enumeration value.

Available values:

Name Description
Bound

Process fetch events in bound mode, so the event’s Result property accepts data objects.

Unbound

Process fetch events in unbound mode, so the event’s Result property accepts scheduler items.

Remarks

The Result property of the FetchAppointments and FetchTimeRegions events accepts both data objects and scheduler items.

To pass data objects to the event’s Result property, set the FetchMode property to Bound. Specify the AppointmentMappings/TimeRegionMappings property and map the Id. See the Mappings topic for more information.

To pass scheduler items to the event’s Result property, set the FetchMode property to Unbound.

See Also