IntelliSense for ResourceDictionaries是否在模块组装中?

时间:2018-07-29 18:30:41

标签: c# wpf xaml resourcedictionary

我想获取在另一个库中引用的IntelliSense XAML资源。

我的项目设置

- Common     // my resources 
- App        // my app, references Common
- Module     // has no references, gets referenced by App

应用具有这样的有效参考

<Application.Resources>
    /* ... */
        <ResourceDictionary Source="pack://application:,,,/Common;component/Dictionary.xaml"/>
    / * ... */
</Application.Resources>

当我在Module中引用资源时,

<Grid Visibility="{Binding Foo, Converter={StaticResource FooConverter}}" Background="Red" Height="50" Width="50" />

尽管IntelliSense无法正常工作。有没有办法让这个工作?在上述示例中,我想获得FooConverter作为IntelliSense的推荐。

0 个答案:

没有答案