DisplayModeQueryOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |