NotificationWindow.Visibility Property


Gets a value that determines whether this notification is currently being displayed.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public Visibility Visibility { get; }

Property Value

Type: System.Windows.Visibility
true if the notification is currently displayed; otherwise, false.

Notifications are displayed by calling Show. Visibility returns true if the notification is still within the durationInMilliseconds period specified in Show, including the fade-in or fade-out. Visibility returns false if Close is called on the notification or if the notification was never shown.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions