I am trying to use the ForestGreen theme or any other theme that is built as a dll and i am having trouble. I can get the theme showing in the designer, but i can't get it at runtime..everything defaults to Office2kBlue it looks like. At the top of my page i have this:
xmlns:igThemes="http://infragistics.com/Themes"
xmlns:igThemeForestGreen=http://infragistics.com/Themes/ForestGreen
In my resource definition i have it defined as so:
<Page.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="..\Resources\Theme\ForestGreen.xaml"/>
<igThemeForestGreen:DataPresenter />
<igThemeForestGreen:Ribbon />
</ResourceDictionary.MergedDictionaries>
<igExcelExporter:DataPresenterExcelExporter x:Key="ExcelExporter"/>
</ResourceDictionary>
</Page.Resources>
The Forest Green in my resource dictionary is my personal theme for buttons, combo boxes, ect....all non infragistics controls. They work great....i just can't ge the forest green theme on the grid or ribbon bar
Actually, i had forgotten to include the theme in the resource dictionary like this:
That solved the problem....the themes showed at design time, but not at runtime without them in the resource dictionary