Skip to content

where is the selection options in verion 4 #56

Closed Answered by ME-MarvinE
Hanisafa asked this question in Q&A
Discussion options

You must be logged in to vote

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();
    }
}

Calendar Properties
CalendarView Prop…

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Q&A
Labels
None yet
2 participants