Notification.Visible 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 message balloon is visible.

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

Syntax

'Declaration
Public Property Visible As Boolean
    Get
    Set
'Usage
Dim instance As Notification
Dim value As Boolean

value = instance.Visible

instance.Visible = value
public bool Visible { get; set; }
public:
property bool Visible {
    bool get ();
    void set (bool value);
}
member Visible : bool with get, set

Property Value

Type: System.Boolean
true if the message balloon is visible; otherwise, false. The default is false.

Remarks

When this property is true, the content of the message balloon updates whenever the Text property is set.

When this property is true, and InitialDuration is set to zero, the message balloon does not display but the notification icon appears in the title bar

Examples

The following code example demonstrates creating and displaying a notification with a twenty second duration. This code example is part of a larger example provided for the Notification class.

Notification1.Visible = True
notification1.Visible = true;

.NET Framework Security

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Notification Class

Notification Members

Microsoft.WindowsCE.Forms Namespace