IStylusAsyncPlugin.StylusButtonUp Method

Notifies the implementing plug-in that the user has released a stylus button.

Namespace:  Microsoft.StylusInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'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)
void StylusButtonUp(
    RealTimeStylus sender,
    StylusButtonUpData data
)
void StylusButtonUp(
    RealTimeStylus^ sender, 
    StylusButtonUpData^ data
)
function StylusButtonUp(
    sender : RealTimeStylus, 
    data : StylusButtonUpData
)

Parameters

Examples

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

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

See Also

Reference

IStylusAsyncPlugin Interface

IStylusAsyncPlugin Members

Microsoft.StylusInput Namespace

StylusButtonUpData

StylusButtons