2 writes to _picker
Microsoft.Maui.Controls.Compatibility (2)
iOS\Renderers\TimePickerRenderer.cs (2)
66
_picker
= null;
94
_picker
= new UIDatePicker { Mode = UIDatePickerMode.Time, TimeZone = new NSTimeZone("UTC") };
13 references to _picker
Microsoft.Maui.Controls.Compatibility (13)
iOS\Renderers\TimePickerRenderer.cs (13)
40
internal UIDatePicker Picker =>
_picker
;
61
if (
_picker
!= null)
63
_picker
.RemoveFromSuperview();
64
_picker
.ValueChanged -= OnValueChanged;
65
_picker
.Dispose();
98
_picker
.PreferredDatePickerStyle = UIKit.UIDatePickerStyle.Wheels;
112
entry.InputView =
_picker
;
125
_picker
.ValueChanged += OnValueChanged;
220
_picker
.Date = new DateTime(1, 1, 1).Add(Element.Time).ToNSDate();
232
_picker
.Locale = locale;
243
_picker
.Locale = locale;
249
_picker
.Locale = locale;
257
ElementController.SetValueFromRenderer(TimePicker.TimeProperty,
_picker
.Date.ToDateTime() - new DateTime(1, 1, 1));