[This is preliminary documentation and is subject to change.]

Gets control from object

Namespace: Tools.WindowsT.FormsT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
protected virtual Control GetControl(
	Object Control
)
Visual Basic
Protected Overridable Function GetControl ( _
	Control As Object _
) As Control
Visual C++
protected:
virtual Control^ GetControl(
	Object^ Control
)
F#
abstract GetControl : 
        Control:Object -> Control 
override GetControl : 
        Control:Object -> Control 
JScript
protected function GetControl(
	Control : Object
) : Control

Parameters

Control
Type: System..::..Object
Object that represents a control. It can be Control, UIElement

Return Value

Control which represents Control. For same Control returns same Control. Returns null if Control is null or it is of unsupported type.

See Also

Collapse/expand Version History

1.5.2

  • Fixed: First call for Control being UIElement returns null.