共用方式為


IStylusAsyncPlugin.StylusButtonUp Method

IStylusAsyncPlugin.StylusButtonUp Method

Informs the implementing plug-in that the stylus button has been released.

Definition

Visual Basic .NET Public Sub StylusButtonUp( _
ByVal sender As RealTimeStylus, _
ByVal data As StylusButtonUpData _
)
C# public void StylusButtonUp(
RealTimeStylus sender,
StylusButtonUpData data
);
Managed C++ public: void StylusButtonUp(
RealTimeStylus *sender,
StylusButtonUpData *data
);

Parameters

sender Microsoft.StylusInput.RealTimeStylus. The RealTimeStylus that sent the notification.
data Microsoft.StylusInput.PluginData.StylusButtonUpData.

Examples

[C#]

This C# example implements the StylusButtonUp method. It informs the developer when the stylus button has been released.

public void StylusButtonUp(RealTimeStylus sender, StylusButtonUpData data)
{
    Debug.Assert(false, null, "The " + data.ButtonIndex.ToString() + " button was released.");
}

See Also