HidNumericControl 類別

定義

表示 HID 裝置上傳回值範圍的數值控制項。 例如說話者上的音量控制項。

public ref class HidNumericControl sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HidNumericControl final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HidNumericControl
Public NotInheritable Class HidNumericControl
繼承
Object Platform::Object IInspectable HidNumericControl
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

ControlDescription

取得指定數值控制項的控制項描述。

Id

取得指定數值控制項的識別碼。

IsGrouped

取得布林值,指出指定的數值控制項是否與其他相關控制項分組。

ScaledValue

取得或設定指定控制項的縮放數值。

UsageId

取得指定數值控制項的使用識別碼。

UsagePage

取得指定數值控制項的使用方式頁面。

Value

取得或設定指定控制項的數值。

適用於

另請參閱