Relative Content

Tag Archive for mauimaui-androidmaui-ios

.NET MAUI: How do I predict/calculate widths and heights relative to physical screen size?

Trying to port some old code and not sure how to translate a screen size measurement intended to be in defined in inches to the units MAUI is using. It seems like DisplayInfo‘s Width and Height properties and Density are not sufficient for me to calculate what the actual width/height units come out as on a full-screen page and I’m not sure exactly how the units are calculated?