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
Hello Grant,
I have been further researching your issue. What I can suggest is to take a look at the following threads from our forum, where a similar issues as discussed:
http://ko.infragistics.com/community/forums/t/65049.aspx,
http://ko.infragistics.com/community/forums/t/93278.aspx,
http://ko.infragistics.com/community/forums/t/86629.aspx
Please do not hesitate to let me know if you have any further questions on this matter.
Hi,
Thanks for the quick reply, it runs now however it's not the output I desired. In the MainViewModel I do have an observable collection of my class which currenty has a hard coded value, I was hoping that it would show the month view control with the task in the control
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.