public static void MapHorizontalTextAlignment(PickerHandler handler, IPicker picker) { handler.NativeView?.UpdateHorizontalAlignment(picker.HorizontalTextAlignment); }
public static void MapCharacterSpacing(PickerHandler handler, IPicker picker) { handler.NativeView?.UpdateCharacterSpacing(picker); }
public static void MapFont(PickerHandler handler, IPicker picker) { var fontManager = handler.GetRequiredService <IFontManager>(); handler.NativeView?.UpdateFont(picker, fontManager); }
public static void MapTitle(PickerHandler handler, IPicker picker) { handler.NativeView?.UpdateTitle(picker); }
public static void MapSelectedIndex(PickerHandler handler, IPicker picker) { handler.NativeView?.UpdateSelectedIndex(picker); }
public static void MapTitleColor(PickerHandler handler, IPicker view) { }
public static void MapFont(PickerHandler handler, IPicker view) { }
public static void MapTextColor(PickerHandler handler, IPicker picker) { handler.PlatformView?.UpdateTextColor(picker); }
public static void MapVerticalTextAlignment(PickerHandler handler, IPicker picker) { handler.PlatformView?.UpdateVerticalTextAlignment(picker); }
public static void MapTitle(PickerHandler handler, IPicker picker) { handler.PlatformView?.UpdateTitle(picker); }
public static void MapHorizontalTextAlignment(PickerHandler handler, IPicker picker) { handler.PlatformView?.UpdateHorizontalTextAlignment(picker); }
public static void MapHorizontalTextAlignment(PickerHandler handler, IPicker view) { }
public static void MapTextColor(PickerHandler handler, IPicker picker) { handler.NativeView?.UpdateTextColor(picker, handler._defaultForeground); }
public static void MapReload(PickerHandler handler, IPicker picker) => handler.Reload();
public static void MapTextColor(PickerHandler handler, IPicker picker) { handler.NativeView.UpdateTextColor(picker, s_defaultTextColors); }
// This is a Android-specific mapping public static void MapBackground(PickerHandler handler, IPicker picker) { handler.NativeView?.UpdateBackground(picker, s_defaultBackground); }
public static void MapVerticalTextAlignment(PickerHandler handler, IPicker picker) { handler.NativeView?.UpdateVerticalAlignment(picker.VerticalTextAlignment); }
public static void MapReload(PickerHandler handler, IPicker picker, object?args) => handler.Reload();
public static void MapSelectedIndex(PickerHandler handler, IPicker view) { }
public static void MapCharacterSpacing(PickerHandler handler, IPicker view) { }