Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
VisibleDates databinding
posted

I would be useful for MVVM to be able to bind the VisibleDates property to an ObservableCollection.  Any reason why this can't be done?

Parents
  • 27093
    posted

    Hello Geoff,

     

    I have been looking into your request and although I am not quite sure what you mean by that I doubt that it is impossible. Usually this is a read-only property which gives you access to the days within the control and like other functionality and feature is decided on based mostly on popular demand along with other implementation criteria.

     

    Here is the page where all our clients can influence/contribute to our product line: http://devcenter.infragistics.com/Protected/RequestFeature.aspx . If your suggestion is picked up for development you’ll be notified with an email.

     

    Please let me know if you require any further assistance on the matter.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support

Reply
  • 1235
    posted in reply to [Infragistics] Petar Monov

    Hi Petar,

    I totally agree with jifman

    We certainly need a bindable VisibleDates property. Of course the primary use for this control is to let the user pick its dates. Nonetheless in my application I already have at least 2 different situations in which I need to synchronize the date between the XamMonthCalendar and XamDayView from code:

    1) I want to display the next 5 working days for a resource owner (if the owner works only on Wednesday, it means showing 5 Wednesdays (the can even reside in non consecutive weeks ). In this case I want to force the selection of discontinous dates. It doesn't make sense to show a working week. I need to set those dates from code, and since I use MVVM, not from code behind.

    2) In another section (outside the schedule) of the program I can see the next appointments of the patient. The user must be able to double click on one of this reminders and force the agenda to open up with pre-selection a particular date/owner.
    Best regards
    Roberto Dalmonte 

Children