XAML controls are drawn by the Direct Composition engine, which uses DIPs
WinUI3 : IS WinUI3 controls measured through device-independent pixels (DIPs)?
Harshithraj1871
1,536
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