GetTopLevelWindow Method
GetTopLevelWindow(UIElement)
Gets the top level window that contains the specified element.
Declaration
ITopLevelWindow GetTopLevelWindow(UIElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | element |
Returns
Type | Description |
---|---|
ITopLevelWindow |