Share via


DisplayModeQueryOptions Enum

Definition

Defines constants that specify options for a mode query operation.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum DisplayModeQueryOptions
Inheritance
DisplayModeQueryOptions
Attributes

Windows requirements

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

Fields

Name Value Description
None 0

Indicates no options.

OnlyPreferredResolution 1

Indicates that only return modes whose source resolution and target resolution exactly match the connected monitor's native mode should be returned.

Applies to

Product Versions
WinRT Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100