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.

public enum class DisplayModeQueryOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class DisplayModeQueryOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum DisplayModeQueryOptions
var value = Windows.Devices.Display.Core.DisplayModeQueryOptions.none
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