Notification.Critical Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value indicating whether the notification is of urgent importance.

Namespace:  Microsoft.WindowsCE.Forms
Assembly:  Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)

public bool Critical { get; set; }

Property Value

Type: System.Boolean
true if the notification is critical; otherwise, false. The default is false.

Critical notifications have a red background caption color, or other color, depending on the current Pocket PC theme.

The following code example creates a notification and sets this property to false. This code example is part of a larger example provided for the Notification class.


// If notification is urgent, set to true.
notification1.Critical = false;


Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5, 2.0
Show: