All docs
V20.1
20.2 (EAP/Beta)
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.SetPatternReference(Object, Int32) Method

Sets the recurrence index to the appointment.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public void SetPatternReference(
    object recurrenceInfoId,
    int recurrenceIndex
)
Public Sub SetPatternReference(
    recurrenceInfoId As Object,
    recurrenceIndex As Integer
)

Parameters

Name Type Description
recurrenceInfoId Object

A System.Object that is the identifier of the recurrence info.

recurrenceIndex Int32

An integer that specifies the recurrence index.

Remarks

Use the SetPatternReference method to change the RecurrenceIndex value. If the appointment is not an exception in a recurring series, the method does nothing. If the SchedulerControl.AppointmentItems collection does not contain the appointment, a System.InvalidOperationException is thrown.

See Also