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));
        }
        public static Rectangle GetViewGroupPosition(this ViewGroup viewGroup)
        {
            //int left = viewGroup.Left;
            //int top = viewGroup.Top;
            int[] viewLocation = { 0, 0 };
            viewGroup?.GetLocationInWindow(viewLocation);

            int width  = viewGroup.Width;
            int height = viewGroup.Height;

            //return DIP.ToRectangle((double)left, (double)top, (double)width, (double)height);
            return(DIP.ToRectangle(viewLocation[0], viewLocation[1], width, height));
        }