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

Gets control from object

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

Syntax

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

Parameters

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

Return Value

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

See Also