public static void RoundCorners(this _View thisButton, float radius = 2, float borderThickness = 0, _Color borderColor = null) { thisButton.AddBorder(borderThickness, borderColor); thisButton.Layer.CornerRadius = radius; }