VisualTreeHelper.GetOpenPopups Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets all open Popup controls.

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

Syntax

Public Shared Function GetOpenPopups As IEnumerable(Of Popup)
public static IEnumerable<Popup> GetOpenPopups()

Return Value

Type: System.Collections.Generic..::.IEnumerable<(Of <(Popup>)>)
An IEnumerable<(Of <(T>)>) of all open Popup controls.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

VisualTreeHelper Class

System.Windows.Media Namespace