MouseDevice.Target Property

Definition

Gets the IInputElement that the input from this mouse 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

The element that receives the input.

Remarks

The target for a MouseDevice is the object the mouse is over or the object with mouse capture.

Applies to