Table of Contents

Method SetPropertyColorsToDefault

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

SetPropertyColorsToDefault(IPropertyGridItem, bool)

Resets text and background colors of a property.

void SetPropertyColorsToDefault(IPropertyGridItem prop, bool recurse = true)

Parameters

prop IPropertyGridItem

Property item.

recurse bool

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