Method CreateProperty
CreateProperty(string?, string?, object, string)
Creates property using another object's property.
IPropertyGridItem? CreateProperty(string? label, string? name, object instance, string nameInInstance)
Parameters
label
stringProperty label.
name
stringProperty name in PropertyGrid.
instance
objectObject instance which contains the property.
nameInInstance
stringProperty name in
instance
.
Returns
CreateProperty(object, string)
Creates property using another object's property.
IPropertyGridItem? CreateProperty(object instance, string nameInInstance)
Parameters
instance
objectObject instance which contains the property.
nameInInstance
stringProperty name in
instance
.
Returns
CreateProperty(object, PropertyInfo)
Creates property using another object's property.
IPropertyGridItem? CreateProperty(object instance, PropertyInfo p)
Parameters
instance
objectObject instance which contains the property.
p
PropertyInfoProperty information.
Returns
- IPropertyGridItem
Property declaration for use with Add(IPropertyGridItem, IPropertyGridItem?).
CreateProperty(string?, string?, object, PropertyInfo)
Creates property using another object's property.
IPropertyGridItem? CreateProperty(string? label, string? propName, object instance, PropertyInfo p)
Parameters
label
stringProperty label.
propName
stringProperty name in PropertyGrid.
instance
objectObject instance which contains the property.
p
PropertyInfoProperty information.
Returns
- IPropertyGridItem
Property declaration for use with Add(IPropertyGridItem, IPropertyGridItem?).