15 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.iOS.cs (2)
6
public static void MapText(EditorHandler handler,
Editor
editor) =>
9
public static void MapText(IEditorHandler handler,
Editor
editor)
Editor\Editor.Mapper.cs (2)
15
EditorHandler.Mapper.ReplaceMapping<
Editor
, IEditorHandler>(nameof(Text), MapText);
16
EditorHandler.Mapper.ReplaceMapping<
Editor
, IEditorHandler>(nameof(TextTransform), MapText);
Hosting\AppHostBuilderExtensions.cs (2)
72
handlersCollection.AddHandler<
Editor
, EditorHandler>();
249
Editor
.RemapForControls();
ViewExtensions.cs (1)
428
else if (element is
Editor
editor)