Back to Devexpress

SchedulerControl.ShowNewAppointmentWindow(Boolean, Boolean) Method

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-dot-shownewappointmentwindow-x28-system-dot-boolean-system-dot-boolean-x29.md

latest2.2 KB
Original Source

SchedulerControl.ShowNewAppointmentWindow(Boolean, Boolean) Method

Shows an Appointment Window to create a new appointment.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public void ShowNewAppointmentWindow(
    bool allDay,
    bool recurring
)
vb
Public Sub ShowNewAppointmentWindow(
    allDay As Boolean,
    recurring As Boolean
)

Parameters

NameTypeDescription
allDayBoolean

true, to create an all-day appointment; otherwise, false.

| | recurring | Boolean |

true, to create a recurring appointment; otherwise, false.

|

Remarks

The ShowNewAppointmentWindow method invokes the SchedulerControl.AppointmentWindowShowing event and displays the window specified by the WindowShowingEventArgs<T>.Window event argument property. If the event is not handled, default window is the RecurrenceWindow instance.

See Also

Appointment Window

Create Custom Appointment Window

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace