public static void MapIsPassword(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateIsPassword(entry); }
public static void MapHorizontalTextAlignment(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateHorizontalTextAlignment(entry); }
public static void MapClearButtonVisibility(EntryHandler handler, IEntry entry) { handler.TypedNativeView?.UpdateClearButtonVisibility(entry, ClearButtonDrawable); }
public static void MapTextColor(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateTextColor(entry); }
public static void MapIsReadOnly(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateIsReadOnly(entry); }
public static void MapReturnType(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateReturnType(entry); }
public static void MapText(EntryHandler handler, IEntry entry) { handler.TypedNativeView?.UpdateText(entry); }
public static void MapPlaceholder(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdatePlaceholder(entry); }
public static void MapCursorPosition(EntryHandler handler, IEntry entry) => handler.NativeView?.UpdateCursorPosition(entry);
public static void MapSelectionLength(EntryHandler handler, IEntry entry) => handler.NativeView?.UpdateSelectionLength(entry);
public static void MapFont(EntryHandler handler, IEntry entry) => handler.NativeView?.UpdateFont(entry, handler.GetRequiredService <IFontManager>());
public static void MapBackground(EntryHandler handler, IEntry entry) => handler.NativeView?.UpdateBackground(entry);
public static void MapText(EntryHandler handler, IEntry entry) => handler.NativeView?.UpdateText(entry);
public static void MapVerticalTextAlignment(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateVerticalTextAlignment(entry); }
public static void MapTextColor(EntryHandler handler, IEntry entry) { handler.TypedNativeView?.UpdateTextColor(entry, DefaultTextColor); }
public static void MapMaxLength(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateMaxLength(entry); }
public static void MapKeyboard(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateKeyboard(entry); }
public static void MapPlaceholderColor(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdatePlaceholderColor(entry, handler._defaultPplaceholderBrush, handler._defaultPlaceholderColorFocusBrush); }
public static void MapIsTextPredictionEnabled(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateIsTextPredictionEnabled(entry); }
public static void MapFont(EntryHandler handler, IEntry entry) { var fontManager = handler.GetRequiredService <IFontManager>(); handler.NativeView?.UpdateFont(entry, fontManager); }
public static void MapCharacterSpacing(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateCharacterSpacing(entry); }
public static void MapClearButtonVisibility(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateClearButtonVisibility(entry); }
// This is a Android-specific mapping public static void MapBackground(EntryHandler handler, IEntry entry) { handler.NativeView?.UpdateBackground(entry, DefaultBackground); }