high dpi display scaling Shipped
What this lens looks for
XAML layout uses effective pixels (epx) — scaling is automatic for XAML content; provide bitmap assets at multiple scales (.scale-100, .scale-125, .scale-150, .scale-200, .scale-400); for custom rendering (Win2D, Direct3D) query XamlRoot.RasterizationScale and listen for RasterizationScaleChanged; never hard-code pixel sizes in code-behind
What its verifier checks
No hard-coded pixel sizes in code-behind; bitmap assets present at all required scale suffixes; custom rendering handlers subscribe to RasterizationScaleChanged; layout tested at 100%, 150%, and 200% DPI