wpfexpression-blendexpression-blend-4

How Expression Blend add reference to external resource dictionary defined in third party library theme


I'm trying to add reference to resource library defined in another project (e.g Elysium) and use it in expression blend.

Here's how i merge the resource dictionary in my App.Xaml file.

    <Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
            <ResourceDictionary Source="pack://application:,,,/MahApps.Metro.Resources;component/Icons.xaml" />
            <ResourceDictionary Source="pack://application:,,,/Telerik.Windows.Themes.Metro;component/Themes/System.Windows.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

But I can't seem to get any of the brushes resource defined in those libraries at Expression Blend 4. Any idea?

enter image description here


Solution

  • Found my answer on Expression Blend Forum: http://social.msdn.microsoft.com/Forums/en/blend/thread/21bdc8a1-4a58-49f9-ae4d-c736b8fd673a

    "Project > Link To Existing Item > (Navigate to the external Resource Dictionary, select it and click ok.) Rebuild."