This documentation is archived and is not being maintained.

Notification.Visible Property

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)

public bool Visible { get; set; }
/** @property */
public boolean get_Visible ()

/** @property */
public void set_Visible (boolean value)

public function get Visible () : boolean

public function set Visible (value : boolean)

Property Value

true if the message balloon is visible; otherwise, false. The default is false.

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

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;

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows Mobile for Pocket PC

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

.NET Compact Framework

Supported in: 2.0
Show: