61 references to TextElement
Microsoft.Maui.Controls (61)
Button\Button.cs (7)
49 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 54 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 69 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty; 233 get { return (Color)GetValue(TextElement.TextColorProperty); } 234 set { SetValue(TextElement.TextColorProperty, value); } 243 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 244 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)
31 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 34 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 93 get { return (Color)GetValue(TextElement.TextColorProperty); } 94 set { SetValue(TextElement.TextColorProperty, value); } 100 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 101 set { SetValue(TextElement.CharacterSpacingProperty, value); }
InputView\InputView.cs (3)
41 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 44 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 47 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty;
Label\Label.cs (7)
27 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 30 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 48 public static readonly BindableProperty TextTransformProperty = TextElement.TextTransformProperty; 164 get { return (Color)GetValue(TextElement.TextColorProperty); } 165 set { SetValue(TextElement.TextColorProperty, value); } 171 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 172 set { SetValue(TextElement.CharacterSpacingProperty, value); }
Picker\Picker.cs (6)
22 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 25 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 165 get { return (Color)GetValue(TextElement.TextColorProperty); } 166 set { SetValue(TextElement.TextColorProperty, value); } 172 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 173 set { SetValue(TextElement.CharacterSpacingProperty, value); }
Properties\AssemblyInfo.cs (3)
99[assembly: StyleProperty("color", typeof(ITextElement), nameof(TextElement.TextColorProperty), Inherited = true)] 100[assembly: StyleProperty("text-transform", typeof(ITextElement), nameof(TextElement.TextTransformProperty), Inherited = true)] 131[assembly: StyleProperty("letter-spacing", typeof(ITextElement), nameof(TextElement.CharacterSpacingProperty), Inherited = true)]
RadioButton\RadioButton.cs (3)
76 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 79 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 82 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)
17 public static readonly BindableProperty TextColorProperty = TextElement.TextColorProperty; 20 public static readonly BindableProperty CharacterSpacingProperty = TextElement.CharacterSpacingProperty; 61 get { return (Color)GetValue(TextElement.TextColorProperty); } 62 set { SetValue(TextElement.TextColorProperty, value); } 68 get { return (double)GetValue(TextElement.CharacterSpacingProperty); } 69 set { SetValue(TextElement.CharacterSpacingProperty, value); }