| File: ITextElement.cs | Web Access |
| Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls) |
#nullable disable using System; using Microsoft.Maui.Controls.Internals; using Microsoft.Maui.Graphics; namespace Microsoft.Maui.Controls { interface ITextElement { //note to implementor: implement this property publicly Color TextColor { get; } //note to implementor: but implement this method explicitly void OnTextColorPropertyChanged(Color oldValue, Color newValue); double CharacterSpacing { get; } //note to implementor: but implement these methods explicitly void OnCharacterSpacingPropertyChanged(double oldValue, double newValue); TextTransform TextTransform { get; set; } void OnTextTransformChanged(TextTransform oldValue, TextTransform newValue); string UpdateFormsText(string original, TextTransform transform); } }