M
moondaddy
I have a user control located in the following path:
projectFolder/PropertyControls/myControl.xaml
and in myControl.xaml I have a reference to a resource dictionary like this:
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary
Source="Resources/ControlResourceDictionary.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
However this doesn't compile because ControlResourceDictionary.xaml is
located under the main project folder like this:
projectFolder/Resources/ControlResourceDictionary.xaml
What's the correct way to show this path in myControl.xaml?
Thanks.
projectFolder/PropertyControls/myControl.xaml
and in myControl.xaml I have a reference to a resource dictionary like this:
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary
Source="Resources/ControlResourceDictionary.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
However this doesn't compile because ControlResourceDictionary.xaml is
located under the main project folder like this:
projectFolder/Resources/ControlResourceDictionary.xaml
What's the correct way to show this path in myControl.xaml?
Thanks.