Back to Devexpress

NotificationService Class

wpf-devexpress-dot-mvvm-dot-ui.md

latest2.9 KB
Original Source

NotificationService Class

Allows you to show Windows 8/10 Style notifications.

Namespace : DevExpress.Mvvm.UI

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
[TargetType(typeof(Window))]
[TargetType(typeof(UserControl))]
public class NotificationService :
    ServiceBase,
    INotificationService
vb
<TargetType(GetType(UserControl))>
<TargetType(GetType(Window))>
Public Class NotificationService
    Inherits ServiceBase
    Implements INotificationService

Remarks

See NotificationService to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NotificationService 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-notificationservice-create-interactive-notifications/CS/InteractiveNotifications/MainWindow.xaml#L15

xml
<dxmvvm:Interaction.Behaviors>
    <dxmvvm:NotificationService PredefinedNotificationTemplate="LongText"
                                UseWin8NotificationsIfAvailable="True"

Inheritance

Show 11 items

Object DispatcherObject DependencyObject Freezable Animatable DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase DevExpress.Mvvm.UI.Interactivity.Behavior DevExpress.Mvvm.UI.Interactivity.Behavior<FrameworkElement> DevExpress.Mvvm.UI.ServiceBaseGeneric<FrameworkElement> ServiceBase NotificationService

See Also

NotificationService Members

DevExpress.Mvvm.UI Namespace