I am having problem, i am sort of new to WPF and have looked up many examples, i even added the Style above and below the declaration of the PropertyGrid Style. I have added the resource file in attachments what am i doing wrong?
```
<Style TargetType="{x:Type pg:PropertyGrid}">
<Style.Resources>
<!- tried added here still can't overrride the default internal "PropertyItemBase" Style for some reason.
<Style TargetType="{x:Type pg:PropertyItemBase}" BasedOn="{StaticResource {x:Type pg:PropertyItemBase}}">
</Style>
</Style.Resources>
................................................
</Style>
```
Comments: ** Comment from web user: emartin **
```
<Style TargetType="{x:Type pg:PropertyGrid}">
<Style.Resources>
<!- tried added here still can't overrride the default internal "PropertyItemBase" Style for some reason.
<Style TargetType="{x:Type pg:PropertyItemBase}" BasedOn="{StaticResource {x:Type pg:PropertyItemBase}}">
</Style>
</Style.Resources>
................................................
</Style>
```
Comments: ** Comment from web user: emartin **
The reason why your style was not working, is because implicit styles only work when they target instance specific classes. Since PropertyItemBase is the base class for PropertyItem, It won't be applied.
In order to work you need tho set the TargetType to "PropertyItem":
```
<Style TargetType="{x:Type pg:PropertyGrid}">
<Style.Resources>
<!- Here target "PropertyItem" -->
<Style TargetType="{x:Type pg:PropertyItem}" BasedOn="{StaticResource {x:Type pg:PropertyItemBase}}">
</Style>
</Style.Resources>
................................................
</Style>
```