Export (0) Print
Expand All

Notification.BalloonChanged Event

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

Occurs when a message balloon is displayed or hidden.

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

public event BalloonChangedEventHandler BalloonChanged

This event occurs whenever you set the Visible property.

For more information about handling events, see Consuming Events.

The following code example demonstrates using this event to determine whenever a notification is created. 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 .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:
© 2014 Microsoft