32 references to Editor
Microsoft.Maui.Controls (15)
Editor\Editor.cs (8)
12 public partial class Editor : InputView, IEditorController, ITextAlignmentElement, IElementConfiguration<Editor>, IEditor 51 public static readonly BindableProperty AutoSizeProperty = BindableProperty.Create(nameof(AutoSize), typeof(EditorAutoSizeOption), typeof(Editor), defaultValue: EditorAutoSizeOption.Disabled, propertyChanged: (bindable, oldValue, newValue) 52 => ((Editor)bindable)?.UpdateAutoSizeOption()); 58 public static readonly BindableProperty VerticalTextAlignmentProperty = BindableProperty.Create(nameof(VerticalTextAlignment), typeof(TextAlignment), typeof(Editor), TextAlignment.Start); 60 readonly Lazy<PlatformConfigurationRegistry<Editor>> _platformConfigurationRegistry; 100 _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<Editor>>(() => new PlatformConfigurationRegistry<Editor>(this)); 104 public IPlatformElementConfiguration<T, Editor> On<T>() where T : IConfigPlatform
Editor\Editor.Mapper.cs (2)
15 EditorHandler.Mapper.ReplaceMapping<Editor, IEditorHandler>(nameof(Text), MapText); 16 EditorHandler.Mapper.ReplaceMapping<Editor, IEditorHandler>(nameof(TextTransform), MapText);
Editor\Editor.Standard.cs (2)
6 public static void MapText(EditorHandler handler, Editor editor) { } 8 public static void MapText(IEditorHandler handler, Editor editor) { }
Hosting\AppHostBuilderExtensions.cs (2)
72 handlersCollection.AddHandler<Editor, EditorHandler>(); 255 Editor.RemapForControls();
ViewExtensions.cs (1)
428 else if (element is Editor editor)
Microsoft.Maui.Controls.Compatibility (17)
iOS\Renderers\EditorRenderer.cs (17)
42 protected override void OnElementChanged(ElementChangedEventArgs<Editor> e) 136 public abstract class EditorRendererBase<TControl> : ViewRenderer<Editor, TControl> 169 protected override void OnElementChanged(ElementChangedEventArgs<Editor> e) 232 if (e.IsOneOf(Editor.TextProperty, Editor.TextTransformProperty)) 241 else if (e.PropertyName == Editor.IsTextPredictionEnabledProperty.PropertyName) 245 else if (e.PropertyName == Editor.TextColorProperty.PropertyName) 247 else if (e.PropertyName == Editor.FontAttributesProperty.PropertyName) 249 else if (e.PropertyName == Editor.FontFamilyProperty.PropertyName) 251 else if (e.PropertyName == Editor.FontSizeProperty.PropertyName) 253 else if (e.PropertyName == Editor.CharacterSpacingProperty.PropertyName) 259 else if (e.PropertyName == Editor.PlaceholderProperty.PropertyName) 264 else if (e.PropertyName == Editor.PlaceholderColorProperty.PropertyName) 266 else if (e.PropertyName == Editor.AutoSizeProperty.PropertyName) 272 ElementController.SetValueFromRenderer(Editor.TextProperty, TextView.Text); 290 ElementController.SetValueFromRenderer(Editor.TextProperty, TextView.Text); 332 if (Element.IsSet(Editor.IsTextPredictionEnabledProperty))