wpf-devexpress-dot-xpf-dot-scheduling-dot-optionswindows.md
Gets or sets the type for the Appointment Window. This is a dependency property.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public Type AppointmentWindowType { get; set; }
Public Property AppointmentWindowType As Type
| Type | Description |
|---|---|
| Type |
A Type value indicating the window type.
|
You can access this nested property as listed below:
| Object Type | Path to AppointmentWindowType |
|---|---|
| SchedulerControl |
.OptionsWindows .AppointmentWindowType
|
Use the AppointmentWindowType property to replace the default dialog with a custom window.
Set the OptionsWindows.AppointmentWindowType value to the type of a custom appointment editing window (HospitalAppointmentWindow). Set the OptionsWindows.RecurrenceWindowType value to the type of a custom recurrence window (HospitalRecurrenceWindow).
<dxsch:SchedulerControl.OptionsWindows>
<dxsch:OptionsWindows AppointmentWindowType="{x:Type local:HospitalAppointmentWindow}" RecurrenceWindowType="{x:Type local:HospitalRecurrenceWindow}" />
</dxsch:SchedulerControl.OptionsWindows>
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AppointmentWindowType 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.
<dxsch:SchedulerControl.OptionsWindows>
<dxsch:OptionsWindows AppointmentWindowType="{x:Type local:HospitalAppointmentWindow}" RecurrenceWindowType="{x:Type local:HospitalRecurrenceWindow}" />
</dxsch:SchedulerControl.OptionsWindows>
See Also