Skip to main content

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

SchedulerControl.GetOccurrenceOrException(Object, Int32) Method

Returns an occurrence or exception under the specified recurrence index from the recurring chain the given pattern specifies.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public AppointmentItem GetOccurrenceOrException(
    object recurrenceInfoId,
    int recurrenceIndex
)

#Parameters

Name Type Description
recurrenceInfoId Object

The identifier of the recurrence info.

recurrenceIndex Int32

The recurring index of the occurrence or exception.

#Returns

Type Description
AppointmentItem

The DevExpress.Xpf.Scheduling.AppointmentItem that is the first occurrence or exception that satisfies the specified condition.

#Remarks

Use the GetOccurrencesAndExceptions method to return all occurrences and exceptions to the specified pattern.

See Also