public static void ApplyStyle(this UIButton @this, XPlatButtonStyle buttonStyle) { if (@this == null || buttonStyle == null) { return; } @this.ApplyStyle((XPlatLabelStyle)buttonStyle); @this.ApplyBackgroundColor(buttonStyle.BackgroundColor); //@this.ApplyBackgroundImage(buttonStyle.BackgroundImage); @this.ApplyCornerRadius(buttonStyle.CornerRadius); @this.ApplyBorderColor(buttonStyle.BorderColor, cornerRadius: buttonStyle.CornerRadius); }