Udostępnij za pośrednictwem


HidBooleanControlDescription.IsAbsolute Property

Definition

Gets a value indicating whether the given boolean control values are absolute or relative (change in value from that previously reported).

public:
 property bool IsAbsolute { bool get(); };
bool IsAbsolute();
public bool IsAbsolute { get; }
var boolean = hidBooleanControlDescription.isAbsolute;
Public ReadOnly Property IsAbsolute As Boolean

Property Value

Boolean

bool

True if the values are absolute; false if the values are relative.

Windows requirements

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

Remarks

This property is useful when an app provides similar functionality as the system and needs to keep the corresponding in-app control synchronized with the system setting. For example, an in-app (relative) mute button that doesn't affect the system volume, but which must correspond to any changes made to the system setting (absolute).

Applies to

See also