DisplayModeQueryOptions DisplayModeQueryOptions DisplayModeQueryOptions DisplayModeQueryOptions DisplayModeQueryOptions Enum

Definition

Defines constants that specify options for a mode query operation.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class DisplayModeQueryOptions
enum class winrt::Windows::Devices::Display::Core::DisplayModeQueryOptions : uint32_t
public enum DisplayModeQueryOptions
Public Enum DisplayModeQueryOptions
var value = Windows.Devices.Display.Core.DisplayModeQueryOptions.none;
Attributes
System.FlagsAttribute ContractVersionAttribute

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Fields

None None None None None 0

Indicates no options.

OnlyPreferredResolution OnlyPreferredResolution OnlyPreferredResolution OnlyPreferredResolution OnlyPreferredResolution 1

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