Поделиться через


NotificationWindow.Visibility Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public ReadOnly Property Visibility As Visibility
public Visibility Visibility { get; }

Property Value

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

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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