Skip to main content
A newer version of this page is available. .

AppointmentFormController.ShouldShowRecurrence Property

Checks whether the button, which enables an end-user to edit the appointment recurrence, should be visible.

Namespace: DevExpress.Xpf.Scheduler.UI

Assembly: DevExpress.Xpf.Scheduler.v19.1.dll

Declaration

public bool ShouldShowRecurrence { get; }

Property Value

Type Description
Boolean

true to show the recurrence button; 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.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

If the scheduler supports recurrence (SchedulerControl.SupportsRecurrence is true), the appointment can be created and edited, and the Appointment.IsOccurrence property value is false, then the ShouldShowRecurrence property returns true.

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShouldShowRecurrence property.

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.

See Also