TabletDevice.Target Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the IInputElement that provides basic input processing for the tablet device.
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 IInputElement that provides basic input processing for the tablet device.
Examples
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");
}
If IsNothing(myTabletDevice.Target) Then
textbox1.AppendText("Target: null" & vbCrLf)
Else
textbox1.AppendText("Target: " & TypeName(myTabletDevice.Target) & vbCrLf)
End If
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.