Issue
I am creating one Xamarin Forms project and I got stuck in finding the current screen width according to the different device.
I know how it can be done in android and ios but need a way to find the width in portable.
Solution
You can try this Application.Current.MainPage.Width
in my case this worked and i am able to find the device width in portable project itself.
Answered By - Parth Patel
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.