VisualTreeHelper.GetOpenPopups Method (Window)

Silverlight

Gets all open Popup controls.

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

'Declaration
Public Shared Function GetOpenPopups ( _
	window As Window _
) As IEnumerable(Of Popup)

Parameters

window
Type: System.Windows.Window
The window to get the Popup controls for.

Return Value

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

Silverlight

Supported in: 5

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

Community Additions

ADD
Show: