| WindowGetWindow Method |
Gets the window that contains the given control.
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public static Window GetWindow(
UIControl control
)
Public Shared Function GetWindow (
control As UIControl
) As Window
public:
static Window^ GetWindow(
UIControl^ control
)
static member GetWindow :
control : UIControl -> Window
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