Back to Devexpress

ToastNotificationsManager.CreateApplicationShortcut Property

windowsforms-devexpress-dot-xtrabars-dot-toastnotifications-dot-toastnotificationsmanager-9b9cc40a.md

latest3.2 KB
Original Source

ToastNotificationsManager.CreateApplicationShortcut Property

Gets or sets whether the application should add its shortcut to the Windows 8 Start Screen.

Namespace : DevExpress.XtraBars.ToastNotifications

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Shortcut")]
public DefaultBoolean CreateApplicationShortcut { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Shortcut")>
<Browsable(False)>
Public Property CreateApplicationShortcut As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumerator value that specifies whether the application should add its shortcut to the Windows 8 Start Screen.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

If the CreateApplicationShortcut property equals DefaultBoolean.True , the application will try to add its shortcut with the specific icon (ToastNotificationsManager.ApplicationIconPath) and caption (ToastNotificationsManager.ApplicationName) to the Windows 8 Start Screen. Toast notifications cannot be displayed unless such a shortcut exists.

Note

Since your released product will most likely have an installation that will create an application Start Screen shortcut, the CreateApplicationShortcut property is primarily designed for debugging purposes.

See the Toast Notification Manager topic for details.

See Also

ApplicationIconPath

ApplicationName

Toast Notification Manager

ToastNotificationsManager Class

ToastNotificationsManager Members

DevExpress.XtraBars.ToastNotifications Namespace