Export (0) Print
Expand All

BalloonChangedEventArgs Class

Provides data for the BalloonChanged event.

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

'Declaration
Public Class BalloonChangedEventArgs
	Inherits EventArgs
'Usage
Dim instance As BalloonChangedEventArgs

public class BalloonChangedEventArgs extends EventArgs
public class BalloonChangedEventArgs extends EventArgs
Not applicable.

The BalloonChanged event occurs whenever a notification is displayed or hidden.

The Visible property reflects the updated value of the Visible property on the Notification, giving you the ability to track when a notification is displayed or hidden.

This class is supported only on a Pocket PC.

The following code example shows where to add code for adding functionality to an application when a balloon is visible. The BalloonChangedEventArgs class contains a Visible property that reflects the value of the Visible property of the Notification class. 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 Sub OnBalloonChanged(obj As Object, _
  balevent As BalloonChangedEventArgs) Handles Notification1.BalloonChanged
   If balevent.Visible = True Then
    ' You can add code here to add 
    ' functionality such as user interface 
    ' changes that should occur when
    ' the notification is displayed.
   End If
End Sub

System.Object
   System.EventArgs
    Microsoft.WindowsCE.Forms.BalloonChangedEventArgs

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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