Share via


NitRange Struct

Definition

Describes the minimum, maximum, and step size you can use when using nits to describe brightness on a device.

public value class NitRange
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
struct NitRange
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public struct NitRange
var nitRange = {
minNits : /* Your value */,
maxNits : /* Your value */,
stepSizeNits : /* Your value */
}
Public Structure NitRange
Inheritance
NitRange
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

MaxNits

The inclusive start point.

MinNits

The inclusive end point.

StepSizeNits

The step size, in nits, of the display brightness. Guaranteed to be a factor of (MinNits - MaxNits).

Applies to