InputCursor Class

Definition

Base class for a visual pointer object that can be applied to an InputPointerSource.

[WebHostHidden]
public ref class InputCursor : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class InputCursor : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class InputCursor : System.IDisposable
Public Class InputCursor
Implements IDisposable
Inheritance
Object Platform::Object IInspectable InputCursor
Derived
Attributes
Implements

Remarks

Supports both system cursor types (such as Hand, IBeam, and Arrow) and custom cursor types.

Methods

Close()

Closes the InputCursor and releases system resources.

CreateFromCoreCursor(CoreCursor)

Creates an InputCursor instance using the specified Windows.UI.Core.CoreCursor cursor.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to

See also