IStylusAsyncPlugin.SystemGesture Method

Notifies the implementing plug-in when a system gesture is received.

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

Syntax

'Declaration
Sub SystemGesture ( _
    sender As RealTimeStylus, _
    data As SystemGestureData _
)
'Usage
Dim instance As IStylusAsyncPlugin 
Dim sender As RealTimeStylus 
Dim data As SystemGestureData

instance.SystemGesture(sender, data)
void SystemGesture(
    RealTimeStylus sender,
    SystemGestureData data
)
void SystemGesture(
    RealTimeStylus^ sender, 
    SystemGestureData^ data
)
function SystemGesture(
    sender : RealTimeStylus, 
    data : SystemGestureData
)

Parameters

Examples

This C# example implements the SystemGesture method. The example notifies the developer when a system gesture occurs.

public void SystemGesture(RealTimeStylus sender, SystemGestureData data)
{
    Debug.Assert(false, "SystemGesture", "Received the " 
                 + data.Id.ToString() + " system gesture.");
}

This Microsoft Visual Basic .NET example implements the SystemGesture method. The example notifies the developer when a system gesture occurs.

Public Sub SystemGesture(ByVal sender As RealTimeStylus, ByVal data As SystemGestureData) _
 Implements IStylusAsyncPlugin.SystemGesture
    Debug.Assert(False, "SystemGesture", "Received the " & _
                   data.Id.ToString() & " system gesture.")
End Sub 'SystemGesture

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

SystemGestureData