DevExpress has come up with an interesting way to resolve this, they basically have a set of Enums
for every particular element and style, and a MarkupExtension
that recieves a value from this enums and returns the appropiate string key. That way you can do things like:
<Style BasedOn="{StaticResource {dxgt:GridRowThemeKey ResourceKey=CellStyle}}">
<!-- and so on... -->