Table of Contents

Method SetPropertyTextColor

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

SetPropertyTextColor(IPropertyGridItem, Color, bool)

Sets text colour of a property.

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

Parameters

prop IPropertyGridItem

Property item.

color Color

New text 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.