Table of Contents

Method CreateEditSource

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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 object

Object which contains the collection.

propInfo PropertyInfo

Property information.

Returns

IListEditSource

IListEditSource provider which is capable of editing specified collecion property; null if no suitable providers were found.