CoreCursor CoreCursor CoreCursor Class

Definition

Defines a cursor (visual pointer) object.

public sealed class CoreCursor : ICoreCursorpublic sealed class CoreCursor : ICoreCursorPublic NotInheritable Class CoreCursor Implements ICoreCursor
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

CoreCursor(CoreCursorType, UInt32) CoreCursor(CoreCursorType, UInt32) CoreCursor(CoreCursorType, UInt32)

Creates a new CoreCursor instance of the provided cursor type.

public CoreCursor(CoreCursorType type, UInt32 id)public CoreCursor(CoreCursorType type, UInt32 id)Public Sub New(type As CoreCursorType, id As UInt32)
Parameters
type
CoreCursorType CoreCursorType CoreCursorType

The type of the new cursor.

id
System.UInt32 System.UInt32 System.UInt32

The unique resource ID of the new cursor.

Attributes

Properties

Id Id Id

Gets the resource ID of the cursor.

public uint Id { get; }public uint Id { get; }Public ReadOnly Property Id As uint
Value
uint uint uint

The ID of the cursor.

Attributes

Type Type Type

Gets the type of the cursor.

public CoreCursorType Type { get; }public CoreCursorType Type { get; }Public ReadOnly Property Type As CoreCursorType
Value
CoreCursorType CoreCursorType CoreCursorType

The type of the cursor.

Attributes