I have a list of all the Resource Calendars , to which i need to assign the same color as what is assigned by the scheduler for that calendar. This is similar to how outlook works, when you check a calendar, the list item gets the same background color as the calendar itself.
I tried adding a property for BaseColor in my calendar entity and checked if a two way binding happens, but that did not work . Please Suggest how to update the color property of the resource calendar object when XamScheduler Assigns a color to the the calendar.
The BaseColor is there so you can provide a value and we will use that similar to how you can set an explicit color for a calendar in outlook. If one is not provided then we dynamically choose one from the available colors from the provided color scheme. We do not push the resolved basecolor into the data item for a resource calendar. When a ResourceCalendar is displayed in the UI the BrushProvider property of that ResourceCalendar is updated to point to a CalendarBrushProvider. That CalendarBrushProvider has a BaseColor property that represents the base color being used. So you would need to get the BaseColor from the ResourceCalendar instance from the xamScheduleDataManager.