9 implementations of ITextElement
Microsoft.Maui.Controls (9)
Button\Button.cs (1)
16 public partial class Button : View, IFontElement, ITextElement, IBorderElement, IButtonController, IElementConfiguration<Button>, IPaddingElement, IImageController, IViewController, IButtonElement, ICommandElement, IImageElement, IButton, ITextButton, IImageButton
DatePicker\DatePicker.cs (1)
9 public partial class DatePicker : View, IFontElement, ITextElement, IElementConfiguration<DatePicker>, IDatePicker
InputView\InputView.cs (1)
9 public partial class InputView : View, IPlaceholderElement, ITextElement, ITextInput, IFontElement
Label\Label.cs (1)
15 public partial class Label : View, IFontElement, ITextElement, ITextAlignmentElement, ILineHeightElement, IElementConfiguration<Label>, IDecorableTextElement, IPaddingElement, ILabel
Picker\Picker.cs (1)
16 public partial class Picker : View, IFontElement, ITextElement, ITextAlignmentElement, IElementConfiguration<Picker>, IPicker
RadioButton\RadioButton.cs (1)
12 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)
9 public partial class TimePicker : View, IFontElement, ITextElement, IElementConfiguration<TimePicker>, ITimePicker
51 references to ITextElement
Microsoft.Maui.Controls (51)
Button\Button.cs (3)
417 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 421 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) 449 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)
68 TextTransform ITextElement.TextTransform 151 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) 220 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 224 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue)
InputView\InputView.cs (2)
153 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 157 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue)
Label\Label.cs (3)
266 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) => 376 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 382 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) =>
Picker\Picker.cs (4)
101 TextTransform ITextElement.TextTransform 132 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) => 416 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 420 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue)
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)
234 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue) 237 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 241 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)
105 TextTransform ITextElement.TextTransform 144 void ITextElement.OnTextColorPropertyChanged(Color oldValue, Color newValue) 148 void ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) 153 void ITextElement.OnTextTransformChanged(TextTransform oldValue, TextTransform newValue)