RequiresPointer 列舉

定義

定義常數,指定元素何時需要遊戲台的類似滑鼠指標行為。

public enum class RequiresPointer
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class RequiresPointer
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum RequiresPointer
Public Enum RequiresPointer
繼承
RequiresPointer
屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

欄位

Never 0

指標永遠不會做為滑鼠。

WhenEngaged 1

當使用者參與滑鼠模式時,指標會當做滑鼠。

WhenFocused 2

當頁面取得焦點時,指標會當做滑鼠。 僅支援 Page 元素。

備註

這個列舉提供 Control.RequiresPointer 屬性的值。

只有在 Xbox 裝置系列上才支援RequiresPointer,而且只有在使用遊戲台或遠端控制時才支援。 否則會忽略 屬性。

適用於