This documentation is archived and is not being maintained.

Cursors Class

Represents a collection of Cursor objects.

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

[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class Cursors : ICollection, IEnumerable

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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.

.NET Framework

Supported in: 3.0