/// <summary>
 /// Translates the bounds of an element to the coordinates of app's window
 /// </summary>
 /// <param name="fromElement"></param>
 /// <returns></returns>
 public static Rectangle BoundsToWinCoord(this VisualElement fromElement)
 {
     return(fromElement.BoundsToEleCoord(Application.Current.MainPage));
 }