Back to Devexpress

Resource Mappings

windowsforms-17133-controls-and-libraries-scheduler-data-binding-mappings-resource-mappings.md

latest2.4 KB
Original Source

Resource Mappings

  • Mar 28, 2019
MappingTypeRequired?Description
ResourceMappingInfo.CaptionStringNoMaps to the Resource.Caption property. 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.
ResourceMappingInfo.ColorInt32 or Color, depending on the ResourceStorageBase.ColorSaving setting.NoSpecified the data field name containing data used to set the resource color. If the mapping is not set, colors from the SchedulerControl.ResourceColorSchemas are used.
ResourceMappingInfo.IdObject (any type)YesMaps to the IPersistentObject.Id property. A resource identity that should be unique.
ResourceMappingInfo.ImageObjectNoMaps to the Resource.ImageBytes property. The picture is displayed in the Resource Headers.
ResourceMappingInfo.ParentIdObject (any type)Yes (for Gantt View only)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.