CoreCursor CoreCursor CoreCursor Class

Defines a cursor (visual pointer) object.

Syntax

Declaration

public sealed class CoreCursorpublic sealed class CoreCursorPublic NotInheritable Class CoreCursor

Constructors summary

Creates a new CoreCursor instance of the provided cursor type.

Properties summary

Gets the resource ID of the cursor.

Gets the type of the cursor.

Constructors

  • CoreCursor(Windows.UI.Core.CoreCursorType,System.UInt32)
    CoreCursor(Windows.UI.Core.CoreCursorType,System.UInt32)
    CoreCursor(Windows.UI.Core.CoreCursorType,System.UInt32)
    CoreCursor(Windows.UI.Core.CoreCursorType,System.UInt32)

    Creates a new CoreCursor instance of the provided cursor type.

    public CoreCursor(Windows.UI.Core.CoreCursorType type,System.UInt32 id)public CoreCursor(Windows.UI.Core.CoreCursorType type,System.UInt32 id)Public Function CoreCursor(type As Windows.UI.Core.CoreCursorType,id As System.UInt32) As

    Parameters

Properties

  • Id
    Id
    Id
    Id

    Gets the resource ID of the cursor.

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

    Property Value

    • uint
      uint
      uint

      The ID of the cursor.

  • Type
    Type
    Type
    Type

    Gets the type of the cursor.

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

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ActivatableAttribute

Details

Assembly

Windows.UI.Core.dll