Freigeben über


BalloonChangedEventArgs.Visible-Eigenschaft

Dieser Dokumentation für die Vorschau nur ist und in späteren Versionen geändert. Leere Themen wurden als Platzhalter eingefügt.]

Ruft einen Wert ab, der angibt, ob die Sprechblase in sichtbar geändert wurde ab.

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

Syntax

'Declaration
Public ReadOnly Property Visible As Boolean
    Get
'Usage
Dim instance As BalloonChangedEventArgs
Dim value As Boolean

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

Eigenschaftswert

Typ: System.Boolean
true , wenn die Visible -Eigenschaft auf Notificationtrue;andernfalls false.

Hinweise

Diese Eigenschaft können Sie ermitteln, ob eine Benachrichtigung angezeigt, ausgeblendet oder.

Beispiele

Im folgenden Codebeispiel wird veranschaulicht, wo Sie fügen Code zum Hinzufügen von Funktionalität zu einer Anwendung, wenn eine Sprechblase sichtbar ist.Dieses Codebeispiel ist Teil eines umfangreicheren Beispiels für die Notification-Klasse bereitgestellt wird.

' You can use the BalloonChanged event' created by tracking each time the notification is made visible.PrivateSub OnBalloonChanged(obj AsObject, _
  balevent As BalloonChangedEventArgs) Handles Notification1.BalloonChanged
   If balevent.Visible = TrueThen    ' You can add code here to add     ' functionality such as user interface     ' changes that should occur when    ' the notification is displayed.EndIfEndSub
// You can use the BalloonChanged event// created by tracking each time the notification is made visible.privatevoid 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.
    }

}

.NET Framework-Sicherheit

Plattformen

Windows Mobile für Pocket PC

Die .NET Framework und .NET Compact Framework unterstützen nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET framework.

Versionsinformationen

.NET Compact Framework

Unterstützt in: 3.5, 2.0

Siehe auch

Referenz

BalloonChangedEventArgs Klasse

Member BalloonChangedEventArgs

Microsoft.WindowsCE.Forms-Namespace