We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfCalendar Spaces Between one Day button to Another Day Btton

Hi,

          How to Reduce a Space Between one Row and Another Row or Previous row Date in Sfcalendar in Xamarin forms. I have attached png please find it below and please let me know the solution of it.

Thanks and Regards,
Muthu

Attachment: SyncfusionCalendar_e009de40.zip

1 Reply

IR Indumathi Ravichandran Syncfusion Team December 30, 2019 10:48 AM UTC

Hi Muthu, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information we have analyzed your requirement of “Reduce the space between the rows of the calendar”. As per calendar implementation month cell height will be calculated based on the number of weeks and available height of calendar, so your requirement can be achieved by reducing height of calendar parent layout. 
 
Code Snippet: 
XAML: 
 
    <Grid> 
        <Grid.RowDefinitions> 
            <RowDefinition Height="0.5*"/> 
            <RowDefinition Height="0.5*"/> 
        </Grid.RowDefinitions> 
        <calendar:SfCalendar x:Name="calendar" 
                             Grid.Row="0" 
                         SelectionMode="SingleSelection" 
                         ViewMode="MonthView" 
                             HorizontalOptions="FillAndExpand" 
                             VerticalOptions="FillAndExpand"> 
        </calendar:SfCalendar> 
    </Grid> 
 
 
 
We hope that this helps you. Please let us know if you need further assistance on this. 
 
Regards, 
Indumathi R 


Loader.
Live Chat Icon For mobile
Up arrow icon