SchedulerControl.ShowRecurrenceForm(UserControl, Boolean) Method
Invokes the Appointment Recurrence dialog for the specified recurring appointment.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
#Declaration
public virtual void ShowRecurrenceForm(
UserControl parentForm,
bool readOnly
)
#Parameters
Name | Type | Description |
---|---|---|
parent |
User |
A User |
read |
Boolean | true to open this form to display properties of a read-only recurring appointment (in this case all form editors are disabled); otherwise, false. |
#Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
The Appointment Recurrence dialog allows end-users to change the appointment recurrence characteristics. The common appearance of the standard Appointment Recurrence form is shown below.
Use the SchedulerControl.RecurrenceFormShowing event to handle the display of this form, for example, to invoke your own custom form instead of the standard one.
#Example
The following code snippet illustrates how to use the SchedulerControl.ShowRecurrenceForm method to invoke the Appointment Recurrence dialog when clicking the Recurrence button on the custom Edit Appointment form. To specify Recurrence button visibility, use the AppointmentFormController.ShouldShowRecurrence property.
Private Sub Recurrence_button_Click(sender As Object, e As RoutedEventArgs)
control_Renamed.ShowRecurrenceForm(Me, False)
End Sub
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowRecurrenceForm(UserControl, Boolean) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.