XAML controls are drawn by the Direct Composition engine, which uses DIPs
WinUI3 : IS WinUI3 controls measured through device-independent pixels (DIPs)?
Harshithraj1871
1,681
Reputation points
Hi,
I'm working on WinUI3 desktop application in cpp. I wanted to understand what is the unit of measure for winui3 elements. When I set a height to a winui3 canvas, what is the unit of measure of that height. According to the documentation the unit of measure is pixel, Is this pixel device-independent pixels (DIPs) ?
Thank You
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
881 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,765 questions