Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Visible Property
Collapse the table of content
Expand the table of content

BalloonChangedEventArgs.Visible Property

Gets or sets a value indicating whether the message balloon was changed to visible.

Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)

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

public function get Visible () : boolean

Not applicable.

Property Value

true if the Visible property on the Notification is true; otherwise, false.

You can use this property to determine whether a notification is displayed or hidden.

The following code example shows where to add code for adding functionality to an application when a balloon is visible. This code example is part of a larger example provided for the Notification class.

// You can use the BalloonChanged event
// created by tracking each time the notification is made visible.
private void OnBalloonChanged(object obj, BalloonChangedEventArgs balevent)
{
    if (balevent.Visible == true)
    {
        // You can add code here to add 
        // functionality such as user interface 
        // changes that should occur when
        // the notification is displayed.
    }

}

Windows Mobile for Pocket PC

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft