This documentation is archived and is not being maintained.

Display

Display specifies the display settings for the display device.

Child Elements

 

ColorDepth

Specifies a valid color depth for the display device in bits per pixel.

DPI

Specifies the dots per inch for the display device.

HorizontalResolution

Specifies a valid horizontal resolution for the display device.

RefreshRate

Specifies a valid refresh rate for the display device.

VerticalResolution

Specifies a valid vertical resolution for the display device.

noteNote
If the specified settings can not be set on the display device, Windows attempts to match the requested mode as closely as possible.

Valid Passes

Parent Hierarchy

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output sets the display resolution to 1024x768, with 32-bit color depth, a refresh rate of 72 hertz, and 120 dpi.

<Display>
   <ColorDepth>32</ColorDepth>
   <DPI>120</DPI>
   <HorizontalResolution>1024</HorizontalResolution>
   <RefreshRate>72</RefreshRate>
   <VerticalResolution>768</VerticalResolution>
</Display>

See Also

Show: