Articles in this section
Category / Section

How to navigate the inactive month (either previous or next) while tapping the inactive month's date (either previous or next) in SfCalendar?

You can able to navigate the inactive (either previous or next) month while tapping the inactive (either previous or next) date in SfCalendar using NavigateToMonthOnInActiveDatesSelection property.

 

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:LocalNamespace="clr-namespace:GettingStartedKBSyncfusion"
xmlns:Syncfusion ="clr-namespace:Syncfusion.SfCalendar.XForms;assembly=Syncfusion.SfCalendar.XForms"
x:Class="GettingStartedKBSyncfusion.MainPage">
 <ContentPage.Content>
  <Syncfusion:SfCalendar x:Name="calendar" NavigateToMonthOnInActiveDatesSelection="true"/>
 </ContentPage.Content>
</ContentPage>

 

Please download the sample from the following link

 

Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/NavigationInActiveMonth1824956450

 

Screenshot:

 

../12.png

 

After tapping next month’s date 7 in current month view

../13.png

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied