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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Windows Phone 8.1 (WinRt XAML), MVVM, TODOList, SfCalendar. Binding ObservableCollection from ViewModel

Thread ID:





119588 Jul 10,2015 04:40 PM UTC Jul 14,2015 10:51 AM UTC WinRT 3
Tags: SfCalendar
Asked On July 10, 2015 04:40 PM UTC

I'm trying to write a MVVM application for Windows Phone 8.1 (WinRT XAML), I use SfCalendar. And I want to bind a ObservableCollection from ViewModel to SfCalendar. Where can I see an example of such use in the MVVM pattern? Thank You. Sorry my english is so bad.

Sugapriya Mariappan [Syncfusion]
Replied On July 13, 2015 11:55 AM UTC

Hi Dmitry,

Thank you for contacting Syncfusion support

“Query #1: Bind a ObservableCollection from ViewModel to SfCalendar”

As our SfCarousel control doesn’t inherited from ItemsControl, it won’t support binding of Observable collection from ViewModel. Could you please let us know why you need to bind Observable collection in SfCalendar, so that we could provide you an alternative solution?

Please let us know if you need any other assistance


Replied On July 13, 2015 04:07 PM UTC

Thanks for your reply. ObservableCollection <T> is not required to , enough IEnumerable <T>. I want to see an example how to implement MVVM pattern with SfCalendar. I mean how to bind collection from ViewModel to a ItemSource of SfCalendar and show collection items on SfCalendar days in XAML. I need handle click events on SfCalendar days and transition to View with day parameter. Best regards Dmitry.

Sugapriya Mariappan [Syncfusion]
Replied On July 14, 2015 10:51 AM UTC

Hi Dmitry,

In our current implementation of SfCalendar, it does not inherited from Content Control. So we would not able to bind collection from ViewModel to SfCalendar control. We would consider your requirement to implement Content control in SfCalendar as feature request. Can you please explain your requirement clearly to log this as feature?

Please let us know if you need any other assistance



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