Skip to main content

DxSchedulerAppointmentItem.QueryEnd Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public DateTime QueryEnd { get; }

Property Value

Type Description
DateTime

A DateTime value that is the normalized appointment end time.

Remarks

The QueryStart and QueryEnd properties allow you to specify the correct interval when querying the collection of appointment source objects. The use of the DxSchedulerAppointmentItem.Start and DxSchedulerAppointmentItem.End properties is not recommended because you can miss the appointment pattern and lose appointment exceptions.

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

Appointment Type QueryEnd Value
OneTime The DxSchedulerAppointmentItem.End value
Pattern The End value of the last appointment in the recurring series. If the series is infinite (no end date), the MaxValue.
ChangedOccurrence The End value of an original occurrence before modification (as if an occurrence is restored from the exception).
DeletedOccurrence The End value of an original occurrence before modification (as if an occurrence is restored from the exception).
See Also