MouseDevice.Target Property


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

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public override IInputElement Target { get; }

Property Value

Type: System.Windows.IInputElement

The element that receives the input.

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

.NET Framework
Available since 3.0
Return to top