Method RegisterCollectionEditor
RegisterCollectionEditor(Type, string, Type?)
Registers collection editor for the specified property of the class.
public static IPropertyGridPropInfoRegistry RegisterCollectionEditor(Type type, string propName, Type? editType)
Parameters
type
TypeType which contains the property.
propName
stringProperty name.
editType
TypeEditor type which implements IListEditSource interface.
Returns
- IPropertyGridPropInfoRegistry
IPropertyGridPropInfoRegistry item for the property specified in
propName
.