Condividi tramite


StylusDownData Class

StylusDownData Class

Provides data for the IStylusSyncPlugin.StylusDown and IStylusAsyncPlugin.StylusDown methods. This class cannot be inherited.

Definition

Visual Basic .NET NotInheritable Public Class StylusDownData
Inherits StylusDataBase
C# public sealed class StylusDownData : StylusDataBase
Managed C++ public __gc __sealed class StylusDownData : public StylusDataBase

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave Site Allows an Object Leave Site to attempt to free resources and perform other cleanup operations before the Object Leave Site is reclaimed by garbage collection. Inherited from Object Leave Site.
GetData Returns the packet data. Inherited from StylusDataBase.
GetEnumerator Returns the System.Collections.IEnumerator Leave Site interface used to iterate through the data. Inherited from StylusDataBase.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
SetData Replaces the packet data with the data argument Inherited from StylusDataBase.
StylusDownData Creates a StylusDownData object.
ToString Leave Site Returns a String Leave Site that represents the current Object Leave Site. Inherited from Object Leave Site.
VerifyPacketData Verifies the packet data for the StylusDownData object. This class supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.

Properties

Property Description
Count Returns the length of the packet data. Inherited from StylusDataBase.
Item Gets the item specified by the index within the collection. Inherited from StylusDataBase.
PacketPropertyCount Gets the number of packets contained in the plug-in data object. Inherited from StylusDataBase.
Stylus Gets information about the tablet pen at the time the associated data is generated. Inherited from StylusDataBase.

Inheritance Hierarchy

Object Leave Site

StylusDataBase

StylusDownData

Remarks

You can create new instances of the object and add it to a RealTimeStylus queue using the AddCustomStylusDataToQueue method.

You can modify the packet data of this notification by calling the SetData method.

Note: The SetData method throws an exception when it is called with its value property set to null or to the empty Int32 Leave Site array.

Class Information

Namespace Microsoft.StylusInput.PluginData
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8