Table of Contents

Method SetPropertyBackgroundColor

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

SetPropertyBackgroundColor(IPropertyGridItem, Color, bool)

Sets background colour of a property.

void SetPropertyBackgroundColor(IPropertyGridItem prop, Color color, bool recurse = true)

Parameters

prop IPropertyGridItem

Property item.

color Color

New background color.

recurse bool

true causes color to be set recursively, false only sets color for the property in question and not any of its children.