Skip to main content

AppointmentFormController.ShouldShowRecurrence Property

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

Namespace: DevExpress.Xpf.Scheduler.UI

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public bool ShouldShowRecurrence { get; }

#Property Value

Type Description
Boolean

true to show the recurrence button; otherwise, false.

#Remarks

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.

#Examples

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 the Recurrence button visibility, use the AppointmentFormController.ShouldShowRecurrence property.

See Also