Popup.SetWindow Method
Silverlight
Sets the window that is the parent of the Popup control.
Namespace: System.Windows.Controls.Primitives
Assembly: System.Windows (in System.Windows.dll)
Parameters
- associatedWindow
- Type: System.Windows.Window
The window that is the parent of the popup control.
| Exception | Condition |
|---|---|
| NotSupportedException |
The application is not an out-of-browser application. |
| ArgumentNullException |
The associatedWindow is null. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.