TabletDevice.Target Property

 

Gets the IInputElement that provides basic input processing for the tablet device.

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

public override IInputElement Target { get; }

Property Value

Type: System.Windows.IInputElement

The IInputElement that provides basic input processing for the tablet device.

The following code example demonstrates the Target property.

if (null != myTabletDevice.Target)
{
    textbox1.AppendText("Target: " + myTabletDevice.Target.GetType().Name + "\n");
}
else
{
    textbox1.AppendText("Target: null\n");
}

.NET Framework
Available since 3.0
Return to top
Show: