DateTimePickerPage.xaml.cs 1.2 KB

1234567891011121314151617181920212223
  1. using Avalonia.Controls;
  2. namespace ControlCatalog.Pages
  3. {
  4. public partial class DateTimePickerPage : UserControl
  5. {
  6. public DateTimePickerPage()
  7. {
  8. InitializeComponent();
  9. DatePickerDesc.Text = "Use a DatePicker to let users set a date in your app, " +
  10. "for example to schedule an appointment. The DatePicker displays three controls for month, day, and year. " +
  11. "These controls are easy to use with touch or mouse, and they can be styled and configured in several different ways. " +
  12. "Order of month, day, and year is dynamically set based on user date settings";
  13. TimePickerDesc.Text = "Use a TimePicker to let users set a time in your app, for example " +
  14. "to set a reminder. The TimePicker displays four controls for hour, minute, seconds(optional), and AM / PM(if necessary).These controls " +
  15. "are easy to use with touch or mouse, and they can be styled and configured in several different ways. " +
  16. "12 - hour or 24 - hour clock and visibility of AM / PM is dynamically set based on user time settings, or can be overridden.";
  17. }
  18. }
  19. }