VisualTreeHelper.GetOpenPopups Method (Window)

Silverlight

Gets all open Popup controls.

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

public static IEnumerable<Popup> GetOpenPopups(
	Window window
)

Parameters

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

Return Value

Type: System.Collections.Generic.IEnumerable<Popup>
An IEnumerable<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: