This topic has not yet been rated - Rate this topic

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)
public void SetWindow(
	Window associatedWindow
)

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.

Silverlight

Supported in: 5

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ