Cursors Class
Cursors Class |
Represents a collection of Cursor objects.
Definition
Visual Basic .NET Public Class Cursors
Inherits Object
Implements ICollection, IEnumerableC# public class Cursors : Object,
ICollection, IEnumerableManaged C++ public __gc class Cursors : public Object,
ICollection, IEnumerable
Members Table
The following table lists the members exposed by the object.
Methods
Method Description CopyTo Copies all of the elements of the current Cursors collection to the specified one-dimensional array, starting at the specified destination array index. Equals Determines whether two Object instances are equal. Inherited from Object . Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. Inherited from Object . GetEnumerator Returns an object that implements the System.Collections.IEnumerator interface and that can iterate through the Cursor objects within the Cursors collection. GetHashCode 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 . GetType Gets the Type of the current instance. Inherited from Object . IEnumerable.GetEnumerator MemberwiseClone Creates a shallow copy of the current Object . Inherited from Object . ReferenceEquals Determines whether the specified Object instances are the same instance. Inherited from Object . ToString Returns a String that represents the current Object . Inherited from Object . Properties
Property Description Count Gets the number of Cursors objects contained in the Cursors collection. IsSynchronized Gets a value that indicates whether or not access to the Cursors collection is synchronized (thread safe). Item Gets the Cursor object at the specified index within the Cursors collection. SyncRoot Returns an object that can be used to synchronize access to the Cursors collection.
Inheritance Hierarchy
Cursors
Remarks
A cursor becomes part of the cursors collection of an InkCollector object, an InkOverlay object, or an InkPicture control when it comes within range of the object. Each time a new cursor comes within range, it is added to the object's cursors collection. The cursors collection exists only during the lifetime of that object.
For example, if a pen is used to draw ink on an InkCollector object, it becomes part of the InkCollector object's Cursors property. If a mouse is then used for input on the same InkCollector object, it is also added to the collection.
Class Information
Namespace Microsoft.Ink Assembly Microsoft.Ink (microsoft.ink.dll) Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8
See Also