DisplayModeInfo Class

Definition

Describes valid combinations of properties for a DisplayPath. The property values on this object can be set on a DisplayPath using the ApplyPropertiesFromMode method. Note that this object refers to a range of valid wire formats, not just one specific wire format.

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

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

IsInterlaced

Gets a value indicating whether the DisplayModeInfo is interlaced.

IsStereo

Gets a value indicating whether the DisplayModeInfo is stereoscopic 3D.

PhysicalPresentationRate

Gets or sets the actual physical rate at which the display is scanning out pixels (when refresh rates are being virtualized).

PresentationRate

Gets the presentation rate of the DisplayModeInfo.

Properties

Gets a collection containing the properties of the DisplayModeInfo.

SourcePixelFormat

Gets or sets the pixel format of the surfaces that will be allowed to present to this DisplayModeInfo.

SourceResolution

Gets or sets an optional value for the size of the pixel buffer used for scanout, before it is transformed to fit into the target resolution.

TargetResolution

Gets or sets an optional value for the size of the frame provided to the target's monitor. This can differ from the size of the "source" frame buffer, in which case the display pipeline transforms the content using the Rotation and Scaling properties.

Methods

GetWireFormatSupportedBitsPerChannel(DisplayWireFormatPixelEncoding)

Retrieves a value containing zero or more display bits-per-channel flags (logically OR-ed together) that are valid for the DisplayModeInfo, for a supplied display wire format pixel encoding.

IsWireFormatSupported(DisplayWireFormat)

Retrieves a Boolean value indicating whether the DisplayModeInfo supports the specified format.

Applies to