public static float GetDeviceMargin(this UIDevice device) { if (device.IsPhone()) return 3; else return 7; }