RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

ExtensionMethods..::..GetFocusedControl Method

Gets the focused control.

Namespace:  RingSoft.DataEntryControls.WPF
Assembly:  RingSoft.DataEntryControls.WPF (in RingSoft.DataEntryControls.WPF.dll)

Syntax


public static IInputElement GetFocusedControl(
	this DependencyObject control
)
<ExtensionAttribute> _
Public Shared Function GetFocusedControl ( _
	control As DependencyObject _
) As IInputElement
[ExtensionAttribute]
public:
static IInputElement^ GetFocusedControl(
	DependencyObject^ control
)

Parameters

control
Type: DependencyObject
The control.

Return Value

IInputElement.