Class BindingListResourceIdMapper
Provides a resource identifier mapper that works with System.ComponentModel.IBindingList collections for managing complex resource objects.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class BindingListResourceIdMapper : ComplexResourceIdMapper
Constructors
BindingListResourceIdMapper(PropertyDescriptor)
Initializes a new instance of the BindingListResourceIdMapper class with the specified resource ID property descriptor.
Declaration
public BindingListResourceIdMapper(PropertyDescriptor resourceIdDescriptor)
Parameters
|
System.ComponentModel.PropertyDescriptor
resourceIdDescriptor
The System.ComponentModel.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
|
System.Object
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
|
System.Object
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
|
System.Object
resourceList
The resource list to be managed by this mapper. |