Skip to main content
A newer version of this page is available. .
All docs
V21.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.v21.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public FetchMode FetchMode { get; set; }

Property Value

Type Description
FetchMode

A DevExpress.Xpf.Scheduling.FetchMode enumeration value. By default, Bound.

Available values:

Name Description
Bound

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

Unbound

Process the fetch events in the bound 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