Back to Devexpress

NotificationService.UseWin8NotificationsIfAvailable Property

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

latest2.2 KB
Original Source

NotificationService.UseWin8NotificationsIfAvailable Property

Gets or sets a value indicating whether native Windows 8/10 notifications are used. This is a dependency property.

Namespace : DevExpress.Mvvm.UI

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool UseWin8NotificationsIfAvailable { get; set; }
vb
Public Property UseWin8NotificationsIfAvailable As Boolean

Property Value

TypeDescription
Boolean

true, if NotificationService uses native notifications; otherwise, false.

|

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

xml
<dxmvvm:NotificationService PredefinedNotificationTemplate="LongText"
                            UseWin8NotificationsIfAvailable="True"
                            ApplicationActivator="{x:Type local:CustomNotificationActivator}"

See Also

NotificationService Class

NotificationService Members

DevExpress.Mvvm.UI Namespace