Category / Section
                                    
                                How to restrict the year view move while tapping calendar’s month header?
                
                
                    1 min read
                
            
    You can able to restrict the move of year view with help of ShowYearView. Please refer the below code example,
MainPage.Xaml
<?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:Syncfusion ="clr-namespace:Syncfusion.SfCalendar.XForms;assembly=Syncfusion.SfCalendar.XForms" x:Class="GettingStartedKBSyncfusion.MainPage"> <ContentPage.Content> <Syncfusion:SfCalendar x:Name="calendar" ShowYearView="false" /> </ContentPage.Content> </ContentPage>
Screenshot:
Before Enabling ShowYearView
  | 
After Enabling ShowYearView
  | 
  | 
Please download the sample from following Link
Link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/ShowYearView510949804

