Back to Devexpress

OptionsWindows Class

wpf-devexpress-dot-xpf-dot-scheduling-2d0180a1.md

latest3.9 KB
Original Source

OptionsWindows Class

Allows specifying custom window types instead of the default windows.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public class OptionsWindows :
    SchedulerFreezableComponent
vb
Public Class OptionsWindows
    Inherits SchedulerFreezableComponent

The following members return OptionsWindows objects:

Example

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).

View Example

xaml
<dxsch:SchedulerControl.OptionsWindows>
    <dxsch:OptionsWindows AppointmentWindowType="{x:Type local:HospitalAppointmentWindow}" RecurrenceWindowType="{x:Type local:HospitalRecurrenceWindow}" />
</dxsch:SchedulerControl.OptionsWindows>

The following code snippets (auto-collected from DevExpress Examples) contain references to the OptionsWindows class.

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.

wpf-scheduler-specify-custom-edit-and-recurrence-dialogs/CS/CustomMvvmFormWithRecurrenceExample/MainWindow.xaml#L40

xml
<dxsch:SchedulerControl.OptionsWindows>
    <dxsch:OptionsWindows AppointmentWindowType="{x:Type local:HospitalAppointmentWindow}" RecurrenceWindowType="{x:Type local:HospitalRecurrenceWindow}" />
</dxsch:SchedulerControl.OptionsWindows>

wpf-scheduler-create-reminders-in-code-and-implement-custom-reminder-window/CS/CustomReminderExample/MainWindow.xaml#L29

xml
<dxsch:SchedulerControl.OptionsWindows>
    <dxsch:OptionsWindows RemindersWindowType="{x:Type local:CustomReminderWindow}" />
</dxsch:SchedulerControl.OptionsWindows>

Inheritance

Object DispatcherObject DependencyObject Freezable DevExpress.Xpf.Scheduling.Internal.SchedulerFreezableComponent OptionsWindows

See Also

OptionsWindows Members

Windows

DevExpress.Xpf.Scheduling Namespace