我的资源文件中有格式字符串.我试图使用FormatString从TextBlock的Text属性访问这些
Text="{Binding Path=Project.Name, StringFormat={Binding Path=WkStrings.DisplayProjectName, Source={StaticResource ResourceWrapper}}}"
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Provide value on 'System.Windows.Data.Binding' threw an exception
Run Code Online (Sandbox Code Playgroud)
错误指向Text =.
是否可以从"嵌套绑定"访问资源?