Method CreatePropertyAsBrush
CreatePropertyAsBrush(string, string?, object, PropertyInfo)
Creates Brush property.
IPropertyGridItem CreatePropertyAsBrush(string label, string? name, object instance, PropertyInfo propInfo)
Parameters
labelstringProperty label.
namestringProperty name.
instanceobjectObject instance which contains the property.
propInfoPropertyInfoProperty information.
Returns
- IPropertyGridItem
Property declaration for use with Add(IPropertyGridItem?, IPropertyGridItem?).
Remarks
If label or name is null,
propInfo is used to get them.