InputCursor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |