Export (0) Print
Expand All

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.

ExceptionCondition
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.

Community Additions

ADD
Show:
© 2015 Microsoft