Skip to main content

Resource Mappings

Note

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Mapping Type Description
Caption String Maps to the Resource.Caption property. Not required. The text is displayed in the resource editor in the AppointmentForm, and in the SchedulerControl as the resource caption if the SchedulerControl.GroupType is set to SchedulerGroupType.Resource or SchedulerGroupType.Date.
Color String Maps to the Resource.ColorValue property. Not required. If the mapping is not set, colors from the SchedulerControl.ResourceColorSchemas are used.
Id Object (any type) Maps to the IPersistentObject.Id property. A resource identity that should be unique. Required.
Image Object Maps to the Resource.ImageBytes property. The picture is displayed in the Resource Headers. Not required.
ParentId Object (any type) Maps to the Resource.ParentId property. Identifies the parent resource in the hierarchical resource structure. Should be the same type as the Id Resource mapping. Required for the Gantt View.