Back to Devexpress

NotificationService.CreateCustomNotification(Object) Method

wpf-devexpress-dot-mvvm-dot-ui-dot-notificationservice-dot-createcustomnotification-x28-system-dot-object-x29.md

latest1.4 KB
Original Source

NotificationService.CreateCustomNotification(Object) Method

Creates and returns a custom notification with the specified View Model.

Namespace : DevExpress.Mvvm.UI

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public INotification CreateCustomNotification(
    object viewModel
)
vb
Public Function CreateCustomNotification(
    viewModel As Object
) As INotification

Parameters

NameTypeDescription
viewModelObject

An object specifying the notification’s View Model.

|

Returns

TypeDescription
DevExpress.Mvvm.INotification

An DevExpress.Mvvm.INotification descendant with the specified View Model.

|

See Also

NotificationService Class

NotificationService Members

DevExpress.Mvvm.UI Namespace