where is the selection options in verion 4 #56
-
Hi , SelectedDates not available , nor selection options how do i get the selected date/s in v4 ? |
Beta Was this translation helpful? Give feedback.
Answered by
ME-MarvinE
Jul 13, 2022
Replies: 1 comment
-
Any properties to do with logic have been moved to the 'Calendar' class in XCalendar.Core. This is so you can inherit from and access the Calendar easier from code. It also makes it easier to create your own control to display the Calendar. You can find examples in the sample app. using XCalendar.Core;
using XCalendar.Core.Models;
using XCalendar.Core.Enums;
public class MyClass
{
public Calendar<CalendarDay> MyCalendar = new Calendar<CalendarDay>()
{
SelectionType = SelectionType.Single,
SelectionAction = SelectionAction.Replace
};
public void UnSelectAllDates()
{
MyCalendar.SelectedDates.Clear();
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ME-MarvinE
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any properties to do with logic have been moved to the 'Calendar' class in XCalendar.Core. This is so you can inherit from and access the Calendar easier from code. It also makes it easier to create your own control to display the Calendar. You can find examples in the sample app.
Calendar Properties
CalendarView Prop…