Table of Contents

Method CreatePropertyWithAdapter

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

CreatePropertyWithAdapter(string, string?, PropertyGridAdapterGeneric)

Create complex property with sub-properties using PropertyGridAdapterGeneric instance as child properties provider.

public virtual IPropertyGridItem CreatePropertyWithAdapter(string label, string? name, PropertyGridAdapterGeneric adapter)

Parameters

label string

Property label.

name string

Property name.

adapter PropertyGridAdapterGeneric

Complex properties provider.

Returns

IPropertyGridItem

Property declaration for use with Add(IPropertyGridItem, IPropertyGridItem?).

Exceptions

ArgumentNullException

If Instance or PropInfo is null.