Back to Devexpress

AppointmentFormEventArgs.OpenRecurrenceForm Property

windowsforms-devexpress-dot-xtrascheduler-dot-appointmentformeventargs-6cb4631f.md

latest5.9 KB
Original Source

AppointmentFormEventArgs.OpenRecurrenceForm Property

Gets a value indicating whether the Appointment Recurrence form is displayed on the top of the Edit Appointment form.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public bool OpenRecurrenceForm { get; }
vb
Public ReadOnly Property OpenRecurrenceForm As Boolean

Property Value

TypeDescription
Boolean

true if the Appointment Recurrence form is displayed; otherwise, false.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the OpenRecurrenceForm 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.

winforms-scheduler-localizer-translate-ui/CS/SchedulerLocalizerExample/Form1.cs#L21

csharp
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de");
SchedulerStringIdExample.OutlookAppointmentForm form = new SchedulerStringIdExample.OutlookAppointmentForm(scheduler, e.Appointment, e.OpenRecurrenceForm);
try {

winforms-scheduler-create-appointment-edit-form-with-custom-fields/CS/SimpleCustomFields/Form1.cs#L54

csharp
private void schedulerControl1_EditAppointmentFormShowing(object sender, AppointmentFormEventArgs e) {
    MyAppointmentForm form = new MyAppointmentForm(sender as SchedulerControl, e.Appointment, e.OpenRecurrenceForm);
    try {

winforms-scheduler-custom-appointment-edit-form/CS/SchedulerDbExample/Form1.cs#L37

csharp
DevExpress.XtraScheduler.SchedulerControl scheduler = ((DevExpress.XtraScheduler.SchedulerControl)(sender));
SchedulerDbExample.CustomAppointmentForm form = new SchedulerDbExample.CustomAppointmentForm(scheduler, e.Appointment, e.OpenRecurrenceForm);
try {

winforms-scheduler-custom-recurrence-form/CS/CustomRecurrenceFormDescendantSample/Form1.cs#L20

csharp
MyAppointmentEditForm myForm = new MyAppointmentEditForm(schedulerControl1,
    e.Appointment, e.OpenRecurrenceForm, DevExpress.XtraScheduler.RecurrenceType.Daily);
myForm.ShowDialog();

winforms-scheduler-localizer-translate-ui/VB/SchedulerLocalizationExample_VB/Form1.vb#L15

vb
Dim form As SchedulerLocalizationExample_VB.OutlookAppointmentForm = New SchedulerLocalizationExample_VB.OutlookAppointmentForm(scheduler, e.Appointment, e.OpenRecurrenceForm)
Try

winforms-scheduler-create-appointment-edit-form-with-custom-fields/VB/SimpleCustomFields/Form1.vb#L54

vb
Private Sub schedulerControl1_EditAppointmentFormShowing(ByVal sender As Object, ByVal e As AppointmentFormEventArgs) Handles schedulerControl1.EditAppointmentFormShowing
    Dim form As New MyAppointmentForm(TryCast(sender, SchedulerControl), e.Appointment, e.OpenRecurrenceForm)
    Try

winforms-scheduler-custom-appointment-edit-form/VB/SchedulerDbExample/Form1.vb#L39

vb
Dim scheduler As DevExpress.XtraScheduler.SchedulerControl = (DirectCast(sender, DevExpress.XtraScheduler.SchedulerControl))
Dim form As New SchedulerDbExample.CustomAppointmentForm(scheduler, e.Appointment, e.OpenRecurrenceForm)
Try

winforms-scheduler-custom-recurrence-form/VB/CustomRecurrenceFormDescendantSample/Form1.vb#L17

vb
' Recurrence form allows editing only daily recurring appointments.
Dim myForm As MyAppointmentEditForm = New MyAppointmentEditForm(schedulerControl1, e.Appointment, e.OpenRecurrenceForm, DevExpress.XtraScheduler.RecurrenceType.Daily)
myForm.ShowDialog()

See Also

AppointmentFormEventArgs Class

AppointmentFormEventArgs Members

DevExpress.XtraScheduler Namespace