Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.DatePickerPresenterAvalonia.ControlsAvalonia.Controlssrc/Avalonia.Controls/DateTimePickers/DatePickerPresenter.csPickerPresenterBasecontrolpublic static readonly StyledProperty<DateTimeOffset> DateProperty = AvaloniaProperty.Register<DatePickerPresenter, DateTimeOffset>(nameof(Date), coerce: CoerceDate);public static readonly StyledProperty<string> DayFormatProperty = DatePicker.DayFormatProperty.AddOwner<DatePickerPresenter>();public static readonly StyledProperty<bool> DayVisibleProperty = DatePicker.DayVisibleProperty.AddOwner<DatePickerPresenter>();public static readonly StyledProperty<DateTimeOffset> MaxYearProperty = DatePicker.MaxYearProperty.AddOwner<DatePickerPresenter>();public static readonly StyledProperty<DateTimeOffset> MinYearProperty = DatePicker.MinYearProperty.AddOwner<DatePickerPresenter>();public static readonly StyledProperty<string> MonthFormatProperty = DatePicker.MonthFormatProperty.AddOwner<DatePickerPresenter>();public static readonly StyledProperty<bool> MonthVisibleProperty = DatePicker.MonthVisibleProperty.AddOwner<DatePickerPresenter>();public static readonly StyledProperty<string> YearFormatProperty = DatePicker.YearFormatProperty.AddOwner<DatePickerPresenter>();public static readonly StyledProperty<bool> YearVisibleProperty = DatePicker.YearVisibleProperty.AddOwner<DatePickerPresenter>();public DatePickerPresenter() {public DateTimeOffset Date {public string DayFormat {public bool DayVisible {public DateTimeOffset MaxYear {public DateTimeOffset MinYear {public string MonthFormat {<DatePickerPresenter x:Name="SampleDatePickerPresenter" />
using Avalonia.Controls;
var control = new DatePickerPresenter();