Bagikan melalui


Cursors Class

Represents a collection of Cursor objects.

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

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class Cursors _
    Implements ICollection, IEnumerable
'Usage
Dim instance As Cursors
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class Cursors : ICollection, IEnumerable
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class Cursors : ICollection, 
    IEnumerable
public class Cursors implements ICollection, IEnumerable

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.

Inheritance Hierarchy

System.Object
  Microsoft.Ink.Cursors

Thread Safety

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

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Cursors Members

Microsoft.Ink Namespace

Cursor

InkCollector

InkOverlay

InkPicture

InkCollector.Cursors

InkOverlay.Cursors

InkPicture.Cursors