9 implementations of ITextElement
Microsoft.Maui.Controls (9)
Button\Button.cs (1)
18 public partial class Button : View, IFontElement, ITextElement, IBorderElement, IButtonController, IElementConfiguration<Button>, IPaddingElement, IImageController, IViewController, IButtonElement, ICommandElement, IImageElement, IButton, ITextButton, IImageButton
DatePicker\DatePicker.cs (1)
11 public partial class DatePicker : View, IFontElement, ITextElement, IElementConfiguration<DatePicker>, IDatePicker
InputView\InputView.cs (1)
12 public partial class InputView : View, IPlaceholderElement, ITextElement, ITextInput, IFontElement
Label\Label.cs (1)
18 public partial class Label : View, IFontElement, ITextElement, ITextAlignmentElement, ILineHeightElement, IElementConfiguration<Label>, IDecorableTextElement, IPaddingElement, ILabel
Picker\Picker.cs (1)
19 public partial class Picker : View, IFontElement, ITextElement, ITextAlignmentElement, IElementConfiguration<Picker>, IPicker
RadioButton\RadioButton.cs (1)
15 public partial class RadioButton : TemplatedView, IElementConfiguration<RadioButton>, ITextElement, IFontElement, IBorderElement, IRadioButton
Shell\SearchHandler.cs (1)
14 public class SearchHandler : BindableObject, ISearchHandlerController, IPlaceholderElement, IFontElement, ITextElement, ITextAlignmentElement
Span.cs (1)
10 public class Span : GestureElement, IFontElement, IStyleElement, ITextElement, ILineHeightElement, IDecorableTextElement
TimePicker\TimePicker.cs (1)
11 public partial class TimePicker : View, IFontElement, ITextElement, IElementConfiguration<TimePicker>, ITimePicker
51 references to ITextElement
Microsoft.Maui.Controls (51)
Button\Button.cs (3)
419 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 423 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) 451 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue)
ContentConverter.cs (7)
34 if (view is ITextElement && HasTemplateAncestor(presenter, typeof(ITextElement))) 54 if (HasTemplateAncestor(presenter, typeof(ITextElement))) 69 var source = new RelativeBindingSource(RelativeBindingSourceMode.FindAncestor, typeof(ITextElement)); 72 content.SetBinding(TextElement.TextColorProperty, static (ITextElement te) => te.TextColor, source: source); 77 content.SetBinding(TextElement.CharacterSpacingProperty, static (ITextElement te) => te.CharacterSpacing, source: source); 82 content.SetBinding(TextElement.TextTransformProperty, static (ITextElement te) => te.TextTransform, source: source);
DatePicker\DatePicker.cs (4)
70 TextTransform ITextElement.TextTransform 153 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) 222 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 226 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue)
InputView\InputView.cs (2)
156 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 160 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue)
Label\Label.cs (3)
269 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) => 379 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 385 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) =>
Picker\Picker.cs (4)
104 TextTransform ITextElement.TextTransform 135 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) => 419 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 423 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue)
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)
237 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) 240 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 244 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue)
Shell\SearchHandler.cs (3)
175 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) 634 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) 639 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue)
Span.cs (3)
168 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 172 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) 176 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue)
TextElement.cs (12)
9 /// The backing store for the <see cref="ITextElement.TextColor" /> bindable property. 12 BindableProperty.Create(nameof(ITextElement.TextColor), typeof(Color), typeof(ITextElement), null, 16 /// The backing store for the <see cref="ITextElement.CharacterSpacing" /> bindable property. 19 BindableProperty.Create(nameof(ITextElement.CharacterSpacing), typeof(double), typeof(ITextElement), 0.0d, 24 ((ITextElement)bindable).OnTextColorPropertyChanged((Color)oldValue, (Color)newValue); 29 ((ITextElement)bindable).OnCharacterSpacingPropertyChanged((double)oldValue, (double)newValue); 33 /// The backing store for the <see cref="ITextElement.TextTransform" /> bindable property. 36 BindableProperty.Create(nameof(ITextElement.TextTransform), typeof(TextTransform), typeof(ITextElement), TextTransform.Default, 41 ((ITextElement)bindable).OnTextTransformChanged((TextTransform)oldValue, (TextTransform)newValue);
TimePicker\TimePicker.cs (4)
107 TextTransform ITextElement.TextTransform 146 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 150 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) 155 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue)