InputCursor 類別

定義

可套用至 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
繼承
Object Platform::Object IInspectable InputCursor
衍生
屬性
實作

備註

支援兩種系統資料指標類型 (,例如 HandIBeamArrow) 和自訂資料指標類型。

方法

Close()

關閉 InputCursor 並釋放系統資源。

CreateFromCoreCursor(CoreCursor)

使用指定的 Windows.UI.Core.CoreCursor 資料指標建立 InputCursor 實例。

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

適用於

另請參閱