Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3914
add ResourceDictionary to MergedDictionaries
posted

Hi,

I am trying to load ResourceDictionary at runtime by adding it to MergedDictionaries. My ResourceDictionaries are defined as follows (see bwlow) - but for some reason I can seem get a reference to it to add to MergedDictionaries. What am I doing wrong?

 

<ResourceDictionary>
            <ResourceDictionary x:Key="igThemePivotGrid" x:Name="igThemePivotGrid"  Source="Styles/IgTheme/IG.xamPivotGrid.xaml"/>
            <ResourceDictionary x:Key="office2010BlueThemePivotGrid" x:Name="office2010BlueThemePivotGrid" Source="Styles/OfficeBlueTheme/Office2010Blue.xamPivotGrid.xaml"/>
        </ResourceDictionary>

 

Thanks

Sangeetha

Parents Reply Children
No Data