Hello,
I'm evaluating this control to look if it fills my needs, because I'm building an application where I need a schedule component.
In code behind i'm adding resources to a ResourceType in my ResourceTypeCollection, but the new resource is not displayed in the ScheduleView. When I navigate to another day then the new Resource appears.
Now I tried the following and this works, but I can't imagine that this is a proper way to make it work.
Thanks in advance!
Best regards,
Jeffrey
I'm evaluating this control to look if it fills my needs, because I'm building an application where I need a schedule component.
In code behind i'm adding resources to a ResourceType in my ResourceTypeCollection, but the new resource is not displayed in the ScheduleView. When I navigate to another day then the new Resource appears.
ResourceType.Resources.Add(new Resource { ResourceName = "Phil Collins" });
Now I tried the following and this works, but I can't imagine that this is a proper way to make it work.
ResourceType.Resources.Add(new Resource { ResourceName = "Phil Collins" }); ResourceTypeCollection.Remove(ResourceType); ResourceTypeCollection.Add(ResourceType);ResourceTypeCollection is an ObservableCollection<ResourceType>() and when I Add or Remove a Resource the ScheduleView is updated, but isn't there a way to update the ScheduleView when I just add Resources without removing / adding ResourceTypes from / to the ResourceTypeCollection?
Thanks in advance!
Best regards,
Jeffrey