Example #1
0
 public static void MapText(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdateText(editor);
 }
Example #2
0
        public static void MapFont(EditorHandler handler, IEditor editor)
        {
            var fontManager = handler.GetRequiredService <IFontManager>();

            handler.NativeView?.UpdateFont(editor, fontManager);
        }
Example #3
0
 // This is a Android-specific mapping
 public static void MapBackground(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdateBackground(editor, DefaultBackground);
 }
Example #4
0
 public static void MapBackground(EditorHandler handler, IEditor editor) =>
 handler.NativeView?.UpdateBackground(editor);
Example #5
0
 public static void MapIsTextPredictionEnabled(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdateIsTextPredictionEnabled(editor);
 }
Example #6
0
 public static void MapPlaceholderColor(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdatePlaceholderColor(editor, DefaultPlaceholderTextColors);
 }
Example #7
0
 public static void MapMaxLength(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdateMaxLength(editor);
 }
Example #8
0
 public static void MapPlaceholderColor(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdatePlaceholderColor(editor, handler._placeholderDefaultBrush, handler._defaultPlaceholderColorFocusBrush);
 }
Example #9
0
 public static void MapTextColor(EditorHandler handler, IEditor editor) =>
 handler.NativeView?.UpdateTextColor(editor);
Example #10
0
 public static void MapVerticalTextAlignment(EditorHandler handler, IEditor editor) =>
 handler.NativeView?.UpdateVerticalTextAlignment(editor);
Example #11
0
 public static void MapKeyboard(EditorHandler handler, IEditor editor) =>
 handler.NativeView?.UpdateKeyboard(editor);
Example #12
0
 public static void MapHorizontalTextAlignment(EditorHandler handler, IEditor editor) =>
 handler.NativeView?.UpdateHorizontalTextAlignment(editor);
Example #13
0
 public static void MapFont(EditorHandler handler, IEditor editor) =>
 handler.NativeView?.UpdateFont(editor, handler.GetRequiredService <IFontManager>());
Example #14
0
 public static void MapPlaceholderColor(EditorHandler handler, IEditor editor) =>
 handler.NativeView?.UpdatePlaceholderColor(editor, handler._defaultPlaceholderColors);
Example #15
0
 public static void MapTextColor(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdateTextColor(editor, DefaultTextColors);
 }
 public static void MapIsTextPredictionEnabled(EditorHandler handler, IEditor editor)
 {
 }
Example #17
0
 public static void MapPlaceholder(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdatePlaceholder(editor);
 }
 public static void MapTextColor(EditorHandler handler, IEditor editor)
 {
 }
Example #19
0
 public static void MapCharacterSpacing(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdateCharacterSpacing(editor);
 }
 public static void MapKeyboard(EditorHandler handler, IEditor editor)
 {
 }
Example #21
0
 public static void MapIsReadOnly(EditorHandler handler, IEditor editor)
 {
     handler.NativeView?.UpdateIsReadOnly(editor);
 }
Example #22
0
 public static void MapVerticalTextAlignment(EditorHandler handler, IEditor editor)
 {
 }