MVVM and SelectedDates

2 posts, 0 answers
  1. Eric
    Eric avatar
    57 posts
    Member since:
    Aug 2012

    Posted 10 Jun 2014 Link to this post

    Can someone explain how to bind to the SelectedDates property to my view model?

    It is not exposed in the XAML designer, why is that?
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 11 Jun 2014 Link to this post

    Hi Eric,

    With the current implementation of RadCalendar it is not possible bind the SelectedDates to a collection in the ViewModel. However what I can suggest you would be to check this blog post which demonstrates how to achieve the desired with an attached property. We also have that logged into our Feedback portal as a Feature Request, so you can easily vote and track its status on the following link:
    http://feedback.telerik.com/Project/143/Feedback/Details/87989-add-selecteddates-dependency-property

    Hope this will work for you.

    Regards,
    Kalin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top