Table of Contents

Method CreateProperty

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

CreateProperty(string?, string?, object, string)

Creates property using another object's property.

public virtual IPropertyGridItem? CreateProperty(string? label, string? name, object instance, string nameInInstance)

Parameters

label string

Property label.

name string

Property name in PropertyGrid.

instance object

Object instance which contains the property.

nameInInstance string

Property name in instance.

Returns

IPropertyGridItem

CreateProperty(object, string)

Creates property using another object's property.

public virtual IPropertyGridItem? CreateProperty(object instance, string nameInInstance)

Parameters

instance object

Object instance which contains the property.

nameInInstance string

Property name in instance.

Returns

IPropertyGridItem

CreateProperty(object, PropertyInfo)

Creates property using another object's property.

public virtual IPropertyGridItem? CreateProperty(object instance, PropertyInfo p)

Parameters

instance object

Object instance which contains the property.

p PropertyInfo

Property information.

Returns

IPropertyGridItem

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

CreateProperty(string?, string?, object, PropertyInfo)

Creates property using another object's property.

public virtual IPropertyGridItem? CreateProperty(string? label, string? propName, object instance, PropertyInfo p)

Parameters

label string

Property label.

propName string

Property name in PropertyGrid.

instance object

Object instance which contains the property.

p PropertyInfo

Property information.

Returns

IPropertyGridItem

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