Method SetPropertyBackgroundColor
SetPropertyBackgroundColor(IPropertyGridItem, Color, bool)
Sets background colour of a property.
public virtual void SetPropertyBackgroundColor(IPropertyGridItem prop, Color color, bool recurse = true)
Parameters
propIPropertyGridItemProperty item.
colorColorNew background color.
recursebooltruecauses color to be set recursively,falseonly sets color for the property in question and not any of its children.