Maui widthrequest for editor control implement

Haviv Elbsz 1,886 Reputation points
2022-08-14T06:13:01.333+00:00

Maui for mobile

implement displayinfo

Hi

l know how to get screen width in pixels
and density. and I calculate the required
width by dividing width pixels by density.

my question is how I implement this width
to the widthrequest of the editor control.

Thank you for any help.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,851 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Haviv Elbsz 1,886 Reputation points
    2022-08-21T19:03:45.05+00:00

    Hi LeonLu-MSFT
    and thank you for your efforts.

    Meanwhile I got solution for my issue.

    I used the DisplayInfo for that.

    again thank you.