Back to Devexpress

OptionsWindows.RemindersWindowType Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-optionswindows-b8d27b70.md

latest3.6 KB
Original Source

OptionsWindows.RemindersWindowType Property

Gets or sets the object type inherited from the Window class which is instantiated and shown instead of the default Reminders window.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public Type RemindersWindowType { get; set; }
vb
Public Property RemindersWindowType As Type

Property Value

TypeDescription
Type

A Type of a window which replaces default Reminders window.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to RemindersWindowType
SchedulerControl

.OptionsWindows .RemindersWindowType

|

Remarks

The default window class whose instance is displayed on a reminder alert is the RemindersWindow class. The RemindersWindowType property allows you to specify another default window class.

You can also specify a window class to display instead of the Reminders window by subscribing to the SchedulerControl.RemindersWindowShowing event and assigning the appropriate window type to the WindowShowingEventArgs<T>.Window property.

Example

View Example

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RemindersWindowType 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.

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>

See Also

OptionsWindows Class

OptionsWindows Members

DevExpress.Xpf.Scheduling Namespace