XAMLでいくつかのことを設定していますが、何らかの理由で問題が発生しています。私は自分のリソースにObjectDataProviderを追加しようとしていますが、私がそれをやっているときに、私のresourcedictionaryにこの警告があります。だから私はresourcedictionaryへの鍵を追加しますが、私は私のcontentcontrol内の私の動的なリソースに問題があります。それは "DefaultEmptyPane"を解決できないと言います。次に私は資源原産地の記念碑のキーへの参照を追加しますが、それではある種の不一致があります。リソースにObjectDataProviderを追加する際の問題
ここに問題がある人はいますか?
<Page.Resources>
<!--<ObjectDataProvider x:Key="projectList" MethodName=""/>-->
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Resources/Panes/DefaultEmptyPane.xaml" />
</ResourceDictionary.MergedDictionaries>
<local:PopulationNameGetNameOnlyConverter x:Key="PopulationNameGetNameOnlyConverter"/>
<local:PopulationNameGetNumberOfTestsConverter x:Key="PopulationNameGetNumberOfTestsConverter"/>
<local:PopulationNameGetDateConverter x:Key="PopulationNameGetDateConverter"/>
<local:NormValidationValueToVisibilityConverter x:Key="NormValidationValueToVisibilityConverter"/>
<local:NormrequestCalculatedToVisibilityConverter x:Key="NormrequestCalculatedToVisibilityConverter"/>
<local:RemoveUnderscoreConverter x:Key="RemoveUnderscoreConverter"/>
</ResourceDictionary>
</Page.Resources>
<ContentControl Template="{DynamicResource DefaultEmptyPane}">
<!--Content-->
</ContentControl>