Version

ResourcePropertyMappings Property

Specifies the data source field mappings for the Infragistics.Controls.Schedules.Services.Resource object.
Syntax
'Declaration
 
Public Property ResourcePropertyMappings As ResourcePropertyMappingCollection
public ResourcePropertyMappingCollection ResourcePropertyMappings {get; set;}
Remarks

ResourcePropertyMappings property is used to specify which fields in the ResourceItemsSource provide data for which properties of the Infragistics.Controls.Schedules.Services.Resource object.

This property by default returns an empty collection. You can set the Infragistics.Services.PropertyMappingCollection<TKey,TMapping>.UseDefaultMappings property on the returned ResourcePropertyMappingCollection to true if the field names in the data source are the same as the property names as defined by the Infragistics.Controls.Schedules.Services.ResourceProperty enum. You can also set UseDefaultMapping to true and add entries for specific fields to override the field mappings for those particular fields while having the rest of the fields use the default field mappings.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also