IStylusSyncPlugin.StylusButtonUp Method
This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
'Declaration Sub StylusButtonUp ( _ sender As RealTimeStylus, _ data As StylusButtonUpData _ ) 'Usage Dim instance As IStylusSyncPlugin Dim sender As RealTimeStylus Dim data As StylusButtonUpData instance.StylusButtonUp(sender, data)
Parameters
- sender
- Type: Microsoft.StylusInput.RealTimeStylus
The RealTimeStylus object that sent the notification.
- data
- Type: Microsoft.StylusInput.PluginData.StylusButtonUpData
Information about the Stylus object associated with the notification.
This C# example implements the StylusButtonUp method. The example informs the developer when the user releases a stylus button.
public void StylusButtonUp(RealTimeStylus sender, StylusButtonUpData data) { Debug.Assert(false, null, "The " + data.ButtonIndex.ToString() + " button was released."); }
This Microsoft Visual Basic .NET example implements the StylusButtonUp method. The example informs the developer when the user releases a stylus button.
Public Sub StylusButtonUp(ByVal sender As RealTimeStylus, ByVal data As StylusButtonUpData) _ Implements IStylusSyncPlugin.StylusButtonUp Debug.Assert(False, "StylusButtonDown", "The " & _ data.ButtonIndex.ToString() & " button was released.") End Sub 'StylusButtonUp
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.