ScheduledToastNotificationShowingEventArgs.Cancel Property

Definition

Gets or sets whether Windows should perform its default handling of the notification.

public:
 property bool Cancel { bool get(); void set(bool value); };
bool Cancel();

void Cancel(bool value);
public bool Cancel { get; set; }
var boolean = scheduledToastNotificationShowingEventArgs.cancel;
scheduledToastNotificationShowingEventArgs.cancel = boolean;
Public Property Cancel As Boolean

Property Value

Boolean

bool

Set to false to allow the system to perform its default handling (which is subject to user and system settings). Set to true to tell the system that your app has handled the notification and that it shouldn't perform default handling. The default value is false.

Applies to