Skip to main content

ToastNotificationsManager.TryCreateApplicationShortcut() Method

Tests whether or not a Start Screen application shortcut with the current ToastNotificationsManager.ApplicationIconPath and ToastNotificationsManager.ApplicationName property values can be created.

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public void TryCreateApplicationShortcut()

Remarks

To create an application shortcut that will be placed onto the Windows 8 Start Screen, you need to set an icon and text for this shortcut. This content can be set by using the ToastNotificationsManager.ApplicationIconPath and ToastNotificationsManager.ApplicationName properties. By default, the shortcut will be automatically created if the ToastNotificationsManager.CreateApplicationShortcut property equals DefaultBoolean.True. The TryCreateApplicationShortcut method attempts to create the shortcut using the current parameters whenever you need it. See the Toast Notification Manager topic to learn more.

See Also