VisualTreeHelper.GetOpenPopups Method
Silverlight
Gets all open Popup controls.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.Collections.Generic.IEnumerable<Popup>An IEnumerable<T> of all open Popup controls.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
The return type is IEnumerable, so obviously there is no implied order
I disagree with the first comment about the interface documentation not specifying an order. The interface is IEnumerable - IEnumerable does not guarantee order, the documentation should not imply order. If there is order it shouldn't be IEnumerable.
- 6/8/2011
- ABC123456
Missing Specification of the Order that is returned
This documentation lacks any description of the order in which the popup information is returned. Is it in Z-order from fromtmost to rear-most? Is it alphabetical by class name? Random? If there is a precedence, it shoud be noted. If there is not, the fact that it is indeterminate shoud be noted. (Please/Thank you)
- 4/29/2011
- avidgator