IStylusSyncPlugin.StylusButtonUp Method
This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.StylusInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'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)
void StylusButtonUp(
RealTimeStylus sender,
StylusButtonUpData data
)
void StylusButtonUp(
RealTimeStylus^ sender,
StylusButtonUpData^ data
)
function StylusButtonUp(
sender : RealTimeStylus,
data : StylusButtonUpData
)
Parameters
sender
Type: Microsoft.StylusInput.RealTimeStylusThe RealTimeStylus object that sent the notification.
data
Type: Microsoft.StylusInput.PluginData.StylusButtonUpDataInformation about the Stylus object associated with the notification.
Examples
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
Platforms
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.
Version Information
.NET Framework
Supported in: 3.0