Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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