summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/Controls/Issue3076Button.cs
blob: 0ab43bce92cc997f98a71a657edd0ab1837000c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace Xamarin.Forms.Controls
{
	public class Issue3076Button : Button
	{
		public static readonly BindableProperty HorizontalContentAlignmentProperty =
			BindableProperty.Create ("HorizontalContentAlignemnt", typeof(TextAlignment), typeof(Issue3076Button), TextAlignment.Center);

		public TextAlignment HorizontalContentAlignment
		{
			get { return (TextAlignment)GetValue (HorizontalContentAlignmentProperty); }
			set { SetValue (HorizontalContentAlignmentProperty, value); }
		}
	}
}