Share via


HdmiDisplayInformation Class

Definition

Represents a class containing methods which can be used to interact with the display.

public ref class HdmiDisplayInformation 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 HdmiDisplayInformation 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 HdmiDisplayInformation
Public NotInheritable Class HdmiDisplayInformation
Inheritance
Object Platform::Object IInspectable HdmiDisplayInformation
Attributes

Windows requirements

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

Methods

GetCurrentDisplayMode()

Gets the HdmiDisplayMode object, which provides info about the current display mode of a connected device, like a TV.

GetForCurrentView()

Gets the HdmiDisplayInformation object which is the display info of a video content that is currently sent to a display, like a TV or monitor.

GetSupportedDisplayModes()

Gets the display modes that are supported by your current display. This is determined in combination by your device type, specifications, and settings.

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption, HdmiDisplayHdr2086Metadata)

Sends request to set the display according to the input parameters.

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode, HdmiDisplayHdrOption)

Sends request to set only the display mode and HDR option for the display.

RequestSetCurrentDisplayModeAsync(HdmiDisplayMode)

Sends request to set only the display mode for the display.

SetDefaultDisplayModeAsync()

Sets the display to the back to default settings.

Events

DisplayModesChanged

Event raised when the display mode changes.

Applies to