InputCursor Class

Definition

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

C#
[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
Inheritance
Object 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

Product Versions
Windows App SDK 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also