Skip to main content

INotificationService.CreateCustomNotification(Object) Method

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

INotification CreateCustomNotification(
    object viewModel
)

Parameters

Name Type Description
viewModel Object

An object specifying the notification’s View Model.

Returns

Type Description
DevExpress.Mvvm.INotification

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateCustomNotification(Object) method.

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.

See Also