Back to Devexpress

NotificationService.ApplicationId Property

wpf-devexpress-dot-mvvm-dot-ui-dot-notificationservice-48d62aad.md

latest2.7 KB
Original Source

NotificationService.ApplicationId Property

Gets or sets the application id. This is a dependency property.

Namespace : DevExpress.Mvvm.UI

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public string ApplicationId { get; set; }
vb
Public Property ApplicationId As String

Property Value

TypeDescription
String

A System.String value specifying the application id.

Default value is null

|

Remarks

This id should be specified in the application shortcut located in the “%APPDATA%\Roaming\Microsoft\Windows\Start Menu\Programs” directory. Use the DevExpress.Data.ShellHelper class to create a shortcut with the required application id.

csharp
DevExpress.Data.ShellHelper.TryCreateShortcut([application id], [application name]);
vb
DevExpress.Data.ShellHelper.TryCreateShortcut([application id], [application name])

More information on Application Model IDs is available on MSDN.

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

xml
ApplicationName="{x:Static local:MainWindow.ApplicationName}">
<dxmvvm:NotificationService.ApplicationId>
    <Binding Source="{x:Static local:MainWindow.ApplicationID}" />

See Also

NotificationService Class

NotificationService Members

DevExpress.Mvvm.UI Namespace