C#C
C#3y ago
OoogaBooga

WinUI3 Scheduler CalendarView

hello im trying to make a winui3 calendarview interactive calendar where I can predefine dates in my code and then when I launch the program I can click on specific dates and see whats scheduled for the specific date, how would I do it?

I tried reading about selected calendar items but I couldn't really figure it out, can someone help me out please?

I did something along these lines

        calendarView1.SelectedDates.Add(new DateTime(2023, 11, 23));
        calendarView1.SelectedDates.Add(new DateTime(2023, 11, 17));
        calendarView1.SelectedDates.Add(new DateTime(2023, 11, 18));


But this doesn't exactly help me select a date
I'd like to add dates that are scheduled in a calendar
Was this page helpful?