-api-id | -api-type |
---|---|
P:Microsoft.UI.Content.ContentSiteEnvironment.DisplayId |
winrt property |
Gets or sets the "metrics authority" monitor ID.
The "metrics authority" monitor ID.
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.