StylusButtonDownData Constructor
Initializes a new instance of the StylusButtonDownData object.
Namespace: Microsoft.StylusInput.PluginData
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub New ( _
stylus As Stylus, _
buttonIndex As Integer _
)
'Usage
Dim stylus As Stylus
Dim buttonIndex As Integer
Dim instance As New StylusButtonDownData(stylus, _
buttonIndex)
public StylusButtonDownData(
Stylus stylus,
int buttonIndex
)
public:
StylusButtonDownData(
Stylus^ stylus,
int buttonIndex
)
public function StylusButtonDownData(
stylus : Stylus,
buttonIndex : int
)
Parameters
stylus
Type: Microsoft.StylusInput.StylusThe Stylus object associated with the button.
buttonIndex
Type: System.Int32Index of the button. Pass this value to StylusButtons.GetName or StylusButtons.GetId to access the button.
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