The ThemeResource extension allows you to load a resource from a currently applied DevExpress theme without specifying the theme name in xaml and reload the resource if a theme is changed. You can reference the resource in xaml:
<Border Background="{dxi:ThemeResource {dxt:FloatingContainerThemeKey ResourceKey=FloatingContainerBackground}}" />
- Customize Themes
- Knowledge Base Article: How to implement the ThemeMananger theme support in custom controls
(you will be redirected to DevExpress.com to submit your response)