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
665
XamMonth view with custom data
posted

Hello, 

I'm trying to get the XamMonthView working with my custom task class, I am trying to map the properties across based on this documentation:

http://help.infragistics.com/Doc/WPF/2010.3/CLR4.0/?page=xamSchedule_Using_Connector_Mapping.html

But I am getting an error when I am running the project

'Infragistics.Controls.Schedules.ListScheduleDataConnector'.'AppointmentPropertyMappings' is null.' 

I have attached an example of the project 

It needs to follow the MVVM pattern also 

Thanks, Grant

IgTaskSchedule.zip
Parents
No Data
Reply
  • 3520
    Offline posted

    Hello Grant,

    Thank you for your post.

    I investigated the issue and it seems that you should initialize the collection first and then you may start defining your PropertyMapping objects. In this case, you should just wrap the list of objects in <ig:AppointmentPropertyMappingCollection></ig:AppointmentPropertyMappingCollection>. I updated the sample application you provided as well.

    The link you are using contains an issue in our documentation which has been fixed in the newer versions. I can suggest you use the following more recent topic instead:

    http://help.infragistics.com/Doc/WPF/2015.1/CLR4.0/?page=xamSchedule_Using_Connector_Mapping.html

    Please, let me know if you need further assistance on the matter.

    IgTaskSchedule_Updated.zip
Children