This documentation is archived and is not being maintained.
IStylusAsyncPlugin.StylusButtonUp Method
Visual Studio 2008
Notifies the implementing plug-in that the user has released a stylus button.
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
'Declaration Sub StylusButtonUp ( _ sender As RealTimeStylus, _ data As StylusButtonUpData _ ) 'Usage Dim instance As IStylusAsyncPlugin 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 button that was released.
This C# example implements the StylusButtonUp method. It informs the developer when a stylus button has been released.
public void StylusButtonUp(RealTimeStylus sender, StylusButtonUpData data) { Debug.Assert(false, "StylusButtonUp", "The " + data.ButtonIndex.ToString() + " button was released."); }
This Microsoft Visual Basic .NET example implements the StylusButtonUp method. It informs the developer when a stylus button has been released.
Public Sub StylusButtonUp(ByVal sender As RealTimeStylus, ByVal data As StylusButtonUpData) _ Implements IStylusAsyncPlugin.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.
Show: