public static Rect FromDeviceToLogical(this Rect deviceRectangle) { return(DpiUtils.DeviceRectToLogical(deviceRectangle)); }