ClassBindingListResourceIdMapper
Provides a resource identifier mapper that works with IBindingList collections for managing complex resource objects.
Definition
Namespace:Telerik.WinControls.UI.Scheduler
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class BindingListResourceIdMapper : ComplexResourceIdMapper
Inheritance: objectResourceIdMapperComplexResourceIdMapperBaseComplexResourceIdMapperBindingListResourceIdMapper
Inherited Members
Constructors
BindingListResourceIdMapper(PropertyDescriptor)
Initializes a new instance of the BindingListResourceIdMapper class with the specified resource ID property descriptor.
Declaration
public BindingListResourceIdMapper(PropertyDescriptor resourceIdDescriptor)
Parameters
resourceIdDescriptor
The PropertyDescriptor that describes the resource ID property on the complex objects.
Methods
AddResourceIdCore(object)
Adds the resource ID object to the collection, with the object already being added via AddNew in CreateResourceIdCore().
Declaration
protected override void AddResourceIdCore(object resourceIdObject)
Parameters
resourceIdObject
The resource ID object that was created and is already in the collection.
Overrides
ClearResourceIds()
Removes all resource identifiers from the binding list if removal is allowed.
Declaration
public override void ClearResourceIds()
Overrides
CreateResourceIdCore()
Creates a new resource ID object using the binding list's AddNew method if new items are allowed.
Declaration
protected override object CreateResourceIdCore()
Returns
A new resource ID object from the binding list, or null if adding new items is not allowed.
Overrides
SetResourceList(object)
Sets the resource list and initializes the binding list interface for managing complex resource objects.
Declaration
public override void SetResourceList(object resourceList)
Parameters
resourceList
The resource list to be managed by this mapper.
Overrides