Share via


HidNumericControl Class

Definition

Represents a numeric control on a HID device that returns a range of values. An example would be the volume control on a speaker.

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
Inheritance
Object Platform::Object IInspectable HidNumericControl
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

ControlDescription

Gets a control description for the given numeric control.

Id

Gets the identifier for the given numeric control.

IsGrouped

Gets a Boolean value that indicates whether the given numeric control is grouped with other, related controls.

ScaledValue

Gets or sets a scaled numeric-value for the given control.

UsageId

Gets the usage identifier for the given numeric control.

UsagePage

Gets the usage page for the given numeric control.

Value

Gets or sets the numeric value for a given control.

Applies to

See also