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