UIElement.RasterizationScale
does not change when Display Scale changes; XamlRoot.RasterizationScale
does.
#9610
Labels
bug
Something isn't working
documentation
An issue with existing documentation or a request for documenation of a new topic
team-Rendering
Issue for the Rendering team
Describe the bug
XamlRoot.RasterizationScale and UIElement.RasterizationScale have the same documentation:
Steps to reproduce the bug
UIElement.RasterizationScale
doesn't changeExpected behavior
I assume, since documentation of the two properties is exactly the same, that they would behave the same.
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000
Windows version
Windows 11 (22H2): Build 22621
Additional context
I noticed this while I was implementing a custom tile bar with a text box according to this article. I forgot two use
titleBar.XamlRoot.RasterizationScale
and instead usedtitleBar.RasterizationScale
.The text was updated successfully, but these errors were encountered: