ToastNotificationsManager.ApplicationActivator Property

Gets or sets the toast Activator - a descendant of the DevExpress.XtraBars.ToastNotifications.ToastNotificationActivator class that allows you to manage end-user interactions with toast elements (buttons, selection menus and input boxes). You should not set this property in code (see the "Remarks" section below for more information).

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v20.1.dll


public Type ApplicationActivator { get; set; }
Public Property ApplicationActivator As Type

Property Value

Type Default Description


A Type of a custom class that serves as an Activator.


Application Activator is a class marked with the ComVisible and Guid attributes that derive from the base DevExpress.XtraBars.ToastNotifications.ToastNotificationActivator class. The Activator overrides the OnActivate base class method to respond to end-users clicking toast buttons and using interactive toast elements, such as input boxes and selection menus (see the "User Input" section for an example).

You should only assign the ApplicationActivator property at design time.

Toasts - Activator

If you need to set an Activator in code, use the RegisterApplicationActivator/UnregisterApplicationActivator methods instead (note that these methods are hidden from IntelliSense).

public XtraForm1() {
    this.FormClosed += XtraForm1_FormClosed;

private void XtraForm1_FormClosed(object sender, FormClosedEventArgs e) {
See Also