All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SchedulerItemBase.QueryStart Property

Gets the normalized appointment start value which is recommended for use in interval-based appointment data source queries.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v21.1.dll

Declaration

public DateTime QueryStart { get; }

Property Value

Type Description
DateTime

A DateTime value that is the start of the appointment.

Remarks

The QueryStart and SchedulerItemBase.QueryEnd properties allow you to calculate the correct interval for use in a SELECT query for SchedulerControl.VisibleIntervalsChanged, DataSource.FetchAppointments, and DataSource.FetchTimeRegions event handlers. The use of the SchedulerItemBase.Start and SchedulerItemBase.End properties is not recommended in this scenario, because their values do not take recurrences into consideration.

The QueryStart property return values are dependent on the appointment type, as shown in the following table.

Appointment Type QueryStart Value
AppointmentType.Normal The SchedulerItemBase.Start value.
AppointmentType.Pattern The Start value of the earliest Occurrence, ChangedOccurrence or DeletedOccurrence.
AppointmentType.ChangedOccurrence The QueryStart value of the pattern.
AppointmentType.DeletedOccurrence The QueryStart value of the pattern.
See Also