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
instanceobjectObject which contains the collection.
propInfoPropertyInfoProperty information.
Returns
- IListEditSource
IListEditSource provider which is capable of editing specified collecion property;
nullif no suitable providers were found.