Method CreateEditSource
CreateEditSource(object?, PropertyInfo?)
Creates IListEditSource provider using collection editors registered with RegisterCollectionEditor(Type, string, Type?).
public static IListEditSource? CreateEditSource(object? instance, PropertyInfo? propInfo)
Parameters
instance
objectObject which contains the collection.
propInfo
PropertyInfoProperty information.
Returns
- IListEditSource
IListEditSource provider which is capable of editing specified collecion property;
null
if no suitable providers were found.