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
Initializes a new instance of the BindingListResourceIdMapper class with the specified resource ID property descriptor.
public BindingListResourceIdMapper(PropertyDescriptor resourceIdDescriptor)
The PropertyDescriptor that describes the resource ID property on the complex objects.
Methods
Adds the resource ID object to the collection, with the object already being added via AddNew in CreateResourceIdCore().
protected override void AddResourceIdCore(object resourceIdObject)
The resource ID object that was created and is already in the collection.
Overrides:
Removes all resource identifiers from the binding list if removal is allowed.
public override void ClearResourceIds()
Overrides:
Creates a new resource ID object using the binding list's AddNew method if new items are allowed.
protected override object CreateResourceIdCore()
A new resource ID object from the binding list, or null if adding new items is not allowed.
Overrides:
Sets the resource list and initializes the binding list interface for managing complex resource objects.
public override void SetResourceList(object resourceList)
The resource list to be managed by this mapper.
Overrides: