 | UIControl.GetControl Method |
Gets a control by name from the visual subtree of this control.
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntaxpublic UIControl GetControl(
string name
)
Public Function GetControl (
name As String
) As UIControl
public:
UIControl^ GetControl(
String^ name
)
member GetControl :
name : string -> UIControl
Parameters
- name
- Type: System.String
The control name.
Return Value
Type:
UIControl
The control with the given name; or
null if no matching control is found.
See Also