18 references to TimePicker
Microsoft.Maui.Controls (18)
Hosting\AppHostBuilderExtensions.cs (2)
85 handlersCollection.AddHandler<TimePicker, TimePickerHandler>(); 255 TimePicker.RemapForControls();
PlatformConfiguration\iOSSpecific\TimePicker.cs (4)
4 using FormsElement = Microsoft.Maui.Controls.TimePicker; 29 public static UpdateMode UpdateMode(this IPlatformElementConfiguration<iOS, FormsElement> config) 35 public static IPlatformElementConfiguration<iOS, FormsElement> SetUpdateMode(this IPlatformElementConfiguration<iOS, FormsElement> config, UpdateMode value)
TimePicker\TimePicker.cs (8)
9 public partial class TimePicker : View, IFontElement, ITextElement, IElementConfiguration<TimePicker>, ITimePicker 12 public static readonly BindableProperty FormatProperty = BindableProperty.Create(nameof(Format), typeof(string), typeof(TimePicker), "t"); 21 public static readonly BindableProperty TimeProperty = BindableProperty.Create(nameof(Time), typeof(TimeSpan), typeof(TimePicker), new TimeSpan(0), BindingMode.TwoWay, 41 readonly Lazy<PlatformConfigurationRegistry<TimePicker>> _platformConfigurationRegistry; 46 _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<TimePicker>>(() => new PlatformConfigurationRegistry<TimePicker>(this)); 139 public IPlatformElementConfiguration<T, TimePicker> On<T>() where T : IConfigPlatform 166 if (bindable is TimePicker timePicker)
TimePicker\TimePicker.iOS.cs (2)
9 public static void MapUpdateMode(TimePickerHandler handler, TimePicker timePicker) => 12 public static void MapUpdateMode(ITimePickerHandler handler, TimePicker timePicker)
TimePicker\TimePicker.Mapper.cs (1)
13 TimePickerHandler.Mapper.ReplaceMapping<TimePicker, ITimePickerHandler>(PlatformConfiguration.iOSSpecific.TimePicker.UpdateModeProperty.PropertyName, MapUpdateMode);
ViewExtensions.cs (1)
448 else if (element is TimePicker tp && TimeSpan.TryParse(text, out TimeSpan tpResult))