public static void MapText(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdateText(editor); }
public static void MapFont(EditorHandler handler, IEditor editor) { var fontManager = handler.GetRequiredService <IFontManager>(); handler.NativeView?.UpdateFont(editor, fontManager); }
// This is a Android-specific mapping public static void MapBackground(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdateBackground(editor, DefaultBackground); }
public static void MapBackground(EditorHandler handler, IEditor editor) => handler.NativeView?.UpdateBackground(editor);
public static void MapIsTextPredictionEnabled(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdateIsTextPredictionEnabled(editor); }
public static void MapPlaceholderColor(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdatePlaceholderColor(editor, DefaultPlaceholderTextColors); }
public static void MapMaxLength(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdateMaxLength(editor); }
public static void MapPlaceholderColor(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdatePlaceholderColor(editor, handler._placeholderDefaultBrush, handler._defaultPlaceholderColorFocusBrush); }
public static void MapTextColor(EditorHandler handler, IEditor editor) => handler.NativeView?.UpdateTextColor(editor);
public static void MapVerticalTextAlignment(EditorHandler handler, IEditor editor) => handler.NativeView?.UpdateVerticalTextAlignment(editor);
public static void MapKeyboard(EditorHandler handler, IEditor editor) => handler.NativeView?.UpdateKeyboard(editor);
public static void MapHorizontalTextAlignment(EditorHandler handler, IEditor editor) => handler.NativeView?.UpdateHorizontalTextAlignment(editor);
public static void MapFont(EditorHandler handler, IEditor editor) => handler.NativeView?.UpdateFont(editor, handler.GetRequiredService <IFontManager>());
public static void MapPlaceholderColor(EditorHandler handler, IEditor editor) => handler.NativeView?.UpdatePlaceholderColor(editor, handler._defaultPlaceholderColors);
public static void MapTextColor(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdateTextColor(editor, DefaultTextColors); }
public static void MapIsTextPredictionEnabled(EditorHandler handler, IEditor editor) { }
public static void MapPlaceholder(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdatePlaceholder(editor); }
public static void MapTextColor(EditorHandler handler, IEditor editor) { }
public static void MapCharacterSpacing(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdateCharacterSpacing(editor); }
public static void MapKeyboard(EditorHandler handler, IEditor editor) { }
public static void MapIsReadOnly(EditorHandler handler, IEditor editor) { handler.NativeView?.UpdateIsReadOnly(editor); }
public static void MapVerticalTextAlignment(EditorHandler handler, IEditor editor) { }