using System; using System.ComponentModel; using CommunityToolkit.Mvvm.ComponentModel; namespace Ursa.Demo.ViewModels; public partial class DatePickerDemoViewModel: ObservableObject { [ObservableProperty] private DateTime? _selectedDate; public DatePickerDemoViewModel() { SelectedDate = DateTime.Today; } }