
Hi Eli,
You can use an implicit Style for the PropertyGridDataAccessorItem type, which includes one or more triggers. In the example below, we are looking for a specific property (i.e. Text), but you can customize this as needed.
<propgrid:PropertyGrid.Resources>
<Style TargetType="{x:Type propgrid:PropertyGridDataAccessorItem}">
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding DataAccessorType, RelativeSource={RelativeSource Self}}" Value="Property" />
<Condition Binding="{Binding ValueName, RelativeSource={RelativeSource Self}}" Value="Text" />
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="Pink" />
</MultiDataTrigger>
</Style.Triggers>
</Style>
</propgrid:PropertyGrid.Resources>
You could build a custom IValueConverter that takes a IPropertyDataAccessor and returns true (the property should be highlighted) or false (the property should not be highlighted). To do this, you'd use something like "{Binding DataContext, RelativeSource={RelativeSource Self}, Converter={StaticResource MyConverter}}" and change the value to "true".
Alternatively, you could simply return a Brush from your custom IValueConverter and bind the Background property directly. You'd replace with the MultiDataTrigger with a Trigger (with Property="DataAccessorType" Value="Property") and a single Setter that binds the Background like show in the previous paragraph. The benefit of this, is you can easily highlight various properties with different colors.