61 references to TextElement
Microsoft.Maui.Controls (61)
Button\Button.cs (7)
47 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 52 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 67 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty; 231 get { return (Color)GetValue(TextElement.TextColorProperty); } 232 set { SetValue(TextElement.TextColorProperty, value); } 241 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 242 set { SetValue(TextElement.CharacterSpacingProperty, value); }
ContentConverter.cs (6)
70 if (ShouldSetBinding(content, TextElement.TextColorProperty)) 72 content.SetBinding(TextElement.TextColorProperty, static (ITextElement te) => te.TextColor, source: source); 75 if (ShouldSetBinding(content, TextElement.CharacterSpacingProperty)) 77 content.SetBinding(TextElement.CharacterSpacingProperty, static (ITextElement te) => te.CharacterSpacing, source: source); 80 if (ShouldSetBinding(content, TextElement.TextTransformProperty)) 82 content.SetBinding(TextElement.TextTransformProperty, static (ITextElement te) => te.TextTransform, source: source);
DatePicker\DatePicker.cs (6)
29 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 32 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 91 get { return (Color)GetValue(TextElement.TextColorProperty); } 92 set { SetValue(TextElement.TextColorProperty, value); } 98 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 99 set { SetValue(TextElement.CharacterSpacingProperty, value); }
InputView\InputView.cs (3)
38 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 41 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 44 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty;
Label\Label.cs (7)
24 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 27 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 45 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty; 161 get { return (Color)GetValue(TextElement.TextColorProperty); } 162 set { SetValue(TextElement.TextColorProperty, value); } 168 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 169 set { SetValue(TextElement.CharacterSpacingProperty, value); }
Picker\Picker.cs (6)
19 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 22 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 162 get { return (Color)GetValue(TextElement.TextColorProperty); } 163 set { SetValue(TextElement.TextColorProperty, value); } 169 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 170 set { SetValue(TextElement.CharacterSpacingProperty, value); }
Properties\AssemblyInfo.cs (3)
96[assembly: StyleProperty("color", typeof(ITextElement), nameof(TextElement.TextColorProperty), Inherited = true)] 97[assembly: StyleProperty("text-transform", typeof(ITextElement), nameof(TextElement.TextTransformProperty), Inherited = true)] 128[assembly: StyleProperty("letter-spacing", typeof(ITextElement), nameof(TextElement.CharacterSpacingProperty), Inherited = true)]
RadioButton\RadioButton.cs (3)
73 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 76 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 79 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty;
Shell\SearchHandler.cs (7)
132 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 135 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 140 get { return (Color)GetValue(TextElement.TextColorProperty); } 141 set { SetValue(TextElement.TextColorProperty, value); } 166 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty; 208 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 209 set { SetValue(TextElement.CharacterSpacingProperty, value); }
Span.cs (7)
28 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty; 49 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 54 get { return (Color)GetValue(TextElement.TextColorProperty); } 55 set { SetValue(TextElement.TextColorProperty, value); } 59 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 64 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 65 set { SetValue(TextElement.CharacterSpacingProperty, value); }
TimePicker\TimePicker.cs (6)
15 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 18 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 59 get { return (Color)GetValue(TextElement.TextColorProperty); } 60 set { SetValue(TextElement.TextColorProperty, value); } 66 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 67 set { SetValue(TextElement.CharacterSpacingProperty, value); }