I have a view:
<ad:DockingManager x:Class="Proj.UI.View.DockingManagerView"
... a lot of xmlns ...
ActiveContent="{Binding Path=ActiveDocument, Mode=TwoWay, Converter={StaticResource ActiveDocumentConverter}}">
<ad:DockingManager.Resources>
<ad:BoolToVisibilityConverter x:Key="ActiveDocumentConverter"/>
</ad:DockingManager.Resources>
</ad:DockingManager>
This will not work.
Where should I move the resource to be available in the root element’s attribute?
Move the converter(s) to the App.xaml – resource, so that you can have central repository of resource.
Take a look at the below link for some other aspect of sharing converters.
Should I declare converters in App.xaml or as a per-file resource?