示例#1
0
        public static void ApplyStyle(this UIView @this, XPlatViewStyle style)
        {
            if (@this == null || style == null)
            {
                return;
            }

            @this.ApplyBackgroundColor(style.BackgroundColor);
            @this.ApplyCornerRadius(style.CornerRadius);
            @this.ApplyBorderColor(style.BorderColor, cornerRadius: style.CornerRadius);
        }