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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to show inlineview in MonthView when page is loaded?

Thread ID:

Created:

Updated:

Platform:

Replies:

141402 Dec 10,2018 12:36 PM UTC Dec 11,2018 08:48 AM UTC Xamarin.Forms 1
loading
Tags: SfSchedule
Emil
Asked On December 10, 2018 12:36 PM UTC

Hi,

I would like to display inlineview in MonthView when page is loaded. I set SelectedDate programatically using MVVM and raising PropertyChanged but, it doesnt display InlineView. Is it even possible?

thanks,

Emil 

Xaml:

   <schedule:SfSchedule  x:Name="Schedule" Grid.Row="1"   ShowAppointmentsInline="True" HorizontalOptions="FillAndExpand" AllowAppointmentDrag="True" AppointmentDrop="Schedule_AppointmentDrop"
                    Locale="{Binding SfScheduleLocale}" FirstDayOfWeek="2" VerticalOptions="FillAndExpand" DataSource="{Binding Schedules}" SelectedDate="{Binding SelectedDate}">
                    <schedule:SfSchedule.MonthCellStyle>
                        <schedule:MonthViewCellStyle
                    BackgroundColor="White"
                    TextColor="Black"
                    NextMonthBackgroundColor="White"
                    NextMonthTextColor="Gray"
                    PreviousMonthBackgroundColor="Silver"
                    PreviousMonthTextColor="Black"
                    TodayBackgroundColor="Red"
                    TodayTextColor="White">
                        </schedule:MonthViewCellStyle>
                    </schedule:SfSchedule.MonthCellStyle>
                 
                </schedule:SfSchedule>

In ViewModel

    SelectedDate = DateTime.Now;
                        RaisePropertyChanged("SelectedDate");

Vigneshkumar Ramasamy [Syncfusion]
Replied On December 11, 2018 08:48 AM UTC

Hi Emil,  
  
Thanks for contacting Syncfusion support,  
  
We have analyzed your query “How to display month inline view on initial load” and it’s schedule’s behavior, the inline view will be displayed based on the touch interaction and it can displayed using programmatic selected date on run time, as per schedule’s behavior inline view doesn’t displayed on initial load, you can use month agenda view to display appointments on initial loading.  
  
Please revert us if you have any concern.  
  
Regards,
Vignehkumar R  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon