﻿using System;
using Xamarin.Forms;

namespace FormsControls
{
	public class CustomEntry : Entry
	{
		public CustomEntry () : base()
		{
		}

		public static readonly BindableProperty BorderWidthProperty = BindableProperty.Create<CustomEntry, float>(p => p.BorderWidth, 2f, BindingMode.TwoWay);

		public float BorderWidth
		{
			get
			{
				var val = (float)this.GetValue(BorderWidthProperty);
				return val;
			}
			set
			{
				this.SetValue(BorderWidthProperty, value);
			}
		}
	}
}

