Click or drag to resize
DigitalRuneWindowGetWindow Method
Gets the window that contains the given control.

Namespace: DigitalRune.Game.UI.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public static Window GetWindow(
	UIControl control
)

Parameters

control
Type: DigitalRune.Game.UI.ControlsUIControl
The control.

Return Value

Type: Window
The window that contains the control, or if the control is not part of a window (controls can be direct children of the screen, no intermediate window is required).
See Also