summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT.Tablet/FormsSearchBox.cs
blob: 633672f624205f0820eccc0c94463af0cb3f6770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;

namespace Xamarin.Forms.Platform.WinRT
{
	public class FormsSearchBox : SearchBox
	{
		public static readonly DependencyProperty HorizontalTextAlignmentProperty = DependencyProperty.Register(
			"HorizontalTextAlignment", typeof (Windows.UI.Xaml.TextAlignment), typeof (FormsSearchBox),
			new PropertyMetadata(Windows.UI.Xaml.TextAlignment.Left));

		public Windows.UI.Xaml.TextAlignment HorizontalTextAlignment
		{
			get { return (Windows.UI.Xaml.TextAlignment)GetValue(HorizontalTextAlignmentProperty); }
			set { SetValue(HorizontalTextAlignmentProperty, value); }
		}
	}
}