Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 915 Bytes

contentsiteenvironment_displayid.md

File metadata and controls

26 lines (16 loc) · 915 Bytes
-api-id -api-type
P:Microsoft.UI.Content.ContentSiteEnvironment.DisplayId
winrt property

Microsoft.UI.Content.ContentSiteEnvironment.DisplayId

-description

Gets or sets the "metrics authority" monitor ID.

-property-value

The "metrics authority" monitor ID.

-remarks

Although top-level windows may be displayed across multiple monitors, each top-level window gets its metrics from a single monitor (the xref:Microsoft.UI.Content.ContentIslandEnvironment.DisplayId), which might not have the same dots per inch (dpi) as the xref:Microsoft.UI.Content.ContentIsland.RasterizationScale?displayProperty=nameWithType. Although these values typically match, there are cases where they might not, such as when a user changes the monitor topology or a top level window is moved across dpi boundaries.

-see-also

-examples