Example #1
0
        public static void MapFont(DatePickerHandler handler, IDatePicker datePicker)
        {
            _ = handler.Services ?? throw new InvalidOperationException($"{nameof(Services)} should have been set by base class.");

            var fontManager = handler.Services.GetRequiredService <IFontManager>();

            handler.NativeView?.UpdateFont(datePicker, fontManager);
        }
Example #2
0
 public static void MapFormat(DatePickerHandler handler, IDatePicker datePicker)
 {
     handler.NativeView?.UpdateFormat(datePicker);
 }
Example #3
0
 // This is a Android-specific mapping
 public static void MapBackground(DatePickerHandler handler, IDatePicker datePicker)
 {
     handler.NativeView?.UpdateBackground(datePicker, handler._defaultBackground);
 }
Example #4
0
 public static void MapTextColor(DatePickerHandler handler, IDatePicker datePicker)
 {
     handler.NativeView?.UpdateTextColor(datePicker, handler._defaultTextColors);
 }
Example #5
0
 public static void MapFlowDirection(DatePickerHandler handler, IDatePicker datePicker)
 {
     handler.PlatformView?.UpdateFlowDirection(datePicker);
     handler.PlatformView?.UpdateTextAlignment(datePicker);
 }
Example #6
0
 public static void MapFormat(DatePickerHandler handler, IDatePicker datePicker)
 {
 }
 public static void MapTextColor(DatePickerHandler handler, IDatePicker datePicker)
 {
 }
Example #8
0
 public static void MapCharacterSpacing(DatePickerHandler handler, IDatePicker datePicker)
 {
     handler.NativeView?.UpdateCharacterSpacing(datePicker);
 }
Example #9
0
 public override void DoneClicked()
 {
     DatePickerHandler.OnDoneClicked(Handler);
 }
Example #10
0
 public static void MapMinimumDate(DatePickerHandler handler, IDatePicker datePicker)
 {
     handler.NativeView?.UpdateMinimumDate(datePicker, handler._picker);
 }
Example #11
0
 public override void DatePickerValueChanged()
 {
     DatePickerHandler.OnValueChanged(Handler);
 }
Example #12
0
 public override void DatePickerEditingDidEnd()
 {
     DatePickerHandler.OnEnded(Handler);
 }
Example #13
0
 public override void DatePickerEditingDidBegin()
 {
     DatePickerHandler.OnStarted(Handler);
 }
Example #14
0
 public static void MapDate(DatePickerHandler handler, IDatePicker datePicker)
 {
     handler.NativeView?.UpdateDate(datePicker);
 }
Example #15
0
 public static void MapMaximumDate(DatePickerHandler handler, IDatePicker datePicker)
 {
 }
Example #16
0
 public static void MapMaximumDate(DatePickerHandler handler, IDatePicker datePicker)
 {
     handler.NativeView?.UpdateMaximumDate(datePicker, handler._dialog);
 }
Example #17
0
 public static void MapCharacterSpacing(DatePickerHandler handler, IDatePicker datePicker)
 {
 }
Example #18
0
        public static void MapFont(DatePickerHandler handler, IDatePicker datePicker)
        {
            var fontManager = handler.GetRequiredService <IFontManager>();

            handler.NativeView?.UpdateFont(datePicker, fontManager);
        }
 public static void MapFlowDirection(DatePickerHandler handler, IDatePicker datePicker)
 {
 }