public static Rectangle GetViewPosition(this global::Android.Views.View view) { int[] viewLocation = { 0, 0 }; view?.GetLocationInWindow(viewLocation); //var scale = P42.Utils.ReflectionExtensions.GetPropertyValue() //var scale = Display.Scale; //int left = view.Left; //int top = view.Top; int width = view.Width; int height = view.Height; return(DIP.ToRectangle(viewLocation[0], viewLocation[1], width, height)); }