/// <summary>
        /// Updates the element.
        /// </summary>
        /// <param name="element">Element.</param>
        private void UpdateElement(RoundCornerView element)
        {
            var colorConverter = new ColorConverter();

            Border.Background = (Brush)colorConverter.Convert(element.BackgroundColor, null, null, null);
            Border.BorderBrush = (Brush)colorConverter.Convert(element.BorderColor, null, null, null);
            Border.BorderThickness = new System.Windows.Thickness(element.BorderWidth);
            Border.CornerRadius = new CornerRadius(element.CornerRadius);
        }
		/// <summary>
		/// Updates the element.
		/// </summary>
		/// <param name="element">Element.</param>
		private void UpdateElement(RoundCornerView element)
		{
			if (element.BackgroundColor == Xamarin.Forms.Color.Transparent)
				BackgroundColor = UIKit.UIColor.Clear;
			else
				BackgroundColor = element.BackgroundColor.ToUIColor ();
			
			Layer.CornerRadius = element.CornerRadius;
			Layer.BorderColor = element.BorderColor.ToUIColor ().CGColor;
			Layer.BorderWidth = (nfloat)element.BorderWidth;
		}