KeyboardDevice.Target Property

Definition

Gets the specified IInputElement that input from this device is sent to.

public:
 virtual property System::Windows::IInputElement ^ Target { System::Windows::IInputElement ^ get(); };
public override System.Windows.IInputElement Target { get; }
member this.Target : System.Windows.IInputElement
Public Overrides ReadOnly Property Target As IInputElement

Property Value

IInputElement

The element that receives input.

Remarks

The target for a KeyboardDevice is the object that has keyboard focus.

Applies to