HdmiDisplayMode Class

Definition

Represents the display mode of a connected device such as a TV or a monitor. It provides info about the display capabilities of the device, such as the number of bits per pixel, colorspace, type of pixel encoding, refresh rate, and more.

public ref class HdmiDisplayMode sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HdmiDisplayMode final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HdmiDisplayMode
Public NotInheritable Class HdmiDisplayMode
Inheritance
Object Platform::Object IInspectable HdmiDisplayMode
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Version history

Windows version SDK version Value added
1809 17763 IsDolbyVisionLowLatencySupported

Properties

BitsPerPixel

Gets the number of bits per pixel. It specifies the number of bits used in a pixel.

ColorSpace

Gets the color space.

Is2086MetadataSupported

Indicates whether 10 bit display metadata is supported on the device.

IsDolbyVisionLowLatencySupported

Indicates whether the low-latency profile for Dolby Vision is supported on the device.

IsSdrLuminanceSupported

Gets the value that indicates whether standard dynamic range (SDR) luminance levels are supported by the device.

IsSmpte2084Supported

Gets the value that indicates whether the SMPTE (Society of Motion Picture and Television Engineers) ST 2084 electo-optical transfer function (EOTF) is supported.

PixelEncoding

Gets the type of pixel encoding the device uses for rendering display content.

RefreshRate

Gets the device's refresh rate, in Hertz (Hz).

ResolutionHeightInRawPixels

Gets the device's resolution height in raw pixels.

ResolutionWidthInRawPixels

Gets the device's resolution width in raw pixels.

StereoEnabled

Gets the value that indicates whether stereoscorpic 3D is enabled on the device.

Methods

IsEqual(HdmiDisplayMode)

Checks to see whether the current display mode is equal to a specific display mode.

Applies to