codejourney
codejourney

Reputation: 319

How to make a calendar view in xamarin.forms?

is it possible to create a page that looks like a calendar ( Pretty much like the basic calendar app on your phone) with xamarin.forms ?

I've been searching and all i see is some prenium widget from companies.

I'm new to xamarin.forms and im unsure if this will be possible.

Thanks.

Upvotes: 2

Views: 3961

Answers (1)

Makwana Prahlad
Makwana Prahlad

Reputation: 967

xmlns:controls="clr-namespace:XamForms.Controls;assembly=XamForms.Controls.Calendar" 

    <StackLayout>  
        <controls:Calendar Padding="10,0,10,0"   
                           SelectedBorderWidth="4"   
                           DisabledBorderColor="Black"  
                           ShowNumberOfWeek="false"  
                           StartDay="Monday"  
                           TitleLabelTextColor="Purple"  
                           TitleLeftArrowTextColor="Blue"  
                           SelectedDate="{Binding Date}"  
                           SpecialDates="{Binding Attendances}"  
                           DateCommand="{Binding DateChosen}"/>  
    </StackLayout>

Upvotes: 1

Related Questions