37 references to TextAlignmentElement
Microsoft.Maui.Controls (37)
Cells\EntryCell.cs (6)
27 public static readonly BindableProperty HorizontalTextAlignmentProperty = TextAlignmentElement.HorizontalTextAlignmentProperty; 30 public static readonly BindableProperty VerticalTextAlignmentProperty = TextAlignmentElement.VerticalTextAlignmentProperty; 35 get { return (TextAlignment)GetValue(TextAlignmentElement.HorizontalTextAlignmentProperty); } 36 set { SetValue(TextAlignmentElement.HorizontalTextAlignmentProperty, value); } 42 get { return (TextAlignment)GetValue(TextAlignmentElement.VerticalTextAlignmentProperty); } 43 set { SetValue(TextAlignmentElement.VerticalTextAlignmentProperty, value); }
Editor\Editor.cs (1)
55 public static readonly BindableProperty HorizontalTextAlignmentProperty = TextAlignmentElement.HorizontalTextAlignmentProperty;
Entry\Entry.cs (6)
55 public static readonly BindableProperty HorizontalTextAlignmentProperty = TextAlignmentElement.HorizontalTextAlignmentProperty; 60 public static readonly BindableProperty VerticalTextAlignmentProperty = TextAlignmentElement.VerticalTextAlignmentProperty; 103 get { return (TextAlignment)GetValue(TextAlignmentElement.HorizontalTextAlignmentProperty); } 104 set { SetValue(TextAlignmentElement.HorizontalTextAlignmentProperty, value); } 112 get { return (TextAlignment)GetValue(TextAlignmentElement.VerticalTextAlignmentProperty); } 113 set { SetValue(TextAlignmentElement.VerticalTextAlignmentProperty, value); }
Label\Label.cs (3)
18 public static readonly BindableProperty HorizontalTextAlignmentProperty = TextAlignmentElement.HorizontalTextAlignmentProperty; 140 get { return (TextAlignment)GetValue(TextAlignmentElement.HorizontalTextAlignmentProperty); } 141 set { SetValue(TextAlignmentElement.HorizontalTextAlignmentProperty, value); }
Picker\Picker.cs (6)
60 public static readonly BindableProperty HorizontalTextAlignmentProperty = TextAlignmentElement.HorizontalTextAlignmentProperty; 63 public static readonly BindableProperty VerticalTextAlignmentProperty = TextAlignmentElement.VerticalTextAlignmentProperty; 190 get { return (TextAlignment)GetValue(TextAlignmentElement.HorizontalTextAlignmentProperty); } 191 set { SetValue(TextAlignmentElement.HorizontalTextAlignmentProperty, value); } 197 get { return (TextAlignment)GetValue(TextAlignmentElement.VerticalTextAlignmentProperty); } 198 set { SetValue(TextAlignmentElement.VerticalTextAlignmentProperty, value); }
Properties\AssemblyInfo.cs (3)
121[assembly: StyleProperty("text-align", typeof(ITextAlignmentElement), nameof(TextAlignmentElement.HorizontalTextAlignmentProperty), Inherited = true)] 125[assembly: StyleProperty("vertical-align", typeof(ITextAlignmentElement), nameof(TextAlignmentElement.VerticalTextAlignmentProperty))] 160[assembly: StyleProperty("-maui-vertical-text-alignment", typeof(Label), nameof(TextAlignmentElement.VerticalTextAlignmentProperty))]
SearchBar\SearchBar.cs (6)
59 public static readonly BindableProperty HorizontalTextAlignmentProperty = TextAlignmentElement.HorizontalTextAlignmentProperty; 62 public static readonly BindableProperty VerticalTextAlignmentProperty = TextAlignmentElement.VerticalTextAlignmentProperty; 82 get { return (TextAlignment)GetValue(TextAlignmentElement.HorizontalTextAlignmentProperty); } 83 set { SetValue(TextAlignmentElement.HorizontalTextAlignmentProperty, value); } 89 get { return (TextAlignment)GetValue(TextAlignmentElement.VerticalTextAlignmentProperty); } 90 set { SetValue(TextAlignmentElement.VerticalTextAlignmentProperty, value); }
Shell\SearchHandler.cs (6)
108 public static readonly BindableProperty HorizontalTextAlignmentProperty = TextAlignmentElement.HorizontalTextAlignmentProperty; 111 public static readonly BindableProperty VerticalTextAlignmentProperty = TextAlignmentElement.VerticalTextAlignmentProperty; 120 get { return (TextAlignment)GetValue(TextAlignmentElement.HorizontalTextAlignmentProperty); } 121 set { SetValue(TextAlignmentElement.HorizontalTextAlignmentProperty, value); } 127 get { return (TextAlignment)GetValue(TextAlignmentElement.VerticalTextAlignmentProperty); } 128 set { SetValue(TextAlignmentElement.VerticalTextAlignmentProperty, value); }