3 writes to Date
Microsoft.Maui.Controls (3)
DatePicker\DatePicker.cs (2)
182 picker.Date = dateValue; 192 picker.Date = dateValue;
ViewExtensions.cs (1)
455 dp.Date = dpResult;
10 references to Date
Microsoft.Maui.Controls (6)
DatePicker\DatePicker.cs (6)
16 /// <summary>Bindable property for <see cref="Date"/>.</summary> 17 public static readonly BindableProperty DateProperty = BindableProperty.Create(nameof(Date), typeof(DateTime), typeof(DatePicker), default(DateTime), BindingMode.TwoWay, 181 if (picker.Date > dateValue) 191 if (picker.Date < dateValue) 235 get => Date; 247 return $"Date = {Date}, {base.GetDebuggerDisplay()}";
Microsoft.Maui.Controls.Compatibility (4)
iOS\Renderers\DatePickerRenderer.cs (4)
179 if (_picker.Date.ToDateTime().Date != Element.Date.Date) 180 _picker.SetDate(Element.Date.ToNSDate(), animate); 203 Control.Text = Element.Date.ToString(Element.Format, CultureInfo.InvariantCulture); 207 Control.Text = Element.Date.ToString(Element.Format);