Prioritize Resource Colors for Events in ASP.NET MVC Scheduler

By default, the top-level resource color is applied to the events. If you want to apply a specific resource color to events irrespective of the parent resource color, this can be achieved by setting the resourceColorField field within the eventSettings property as shown below. The value of resourceColorField is the name of the resource whose color should be prioritized.

NOTE

The resourceColorField value must match the name of a resource defined in the resources property. For example, if the resource is added with Name("Categories"), set ResourceColorField("Categories") on the event settings.