зеркало из https://github.com/DeGsoft/maui-linux.git
18 строки
637 B
C#
18 строки
637 B
C#
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); }
|
|
}
|
|
}
|
|
} |