2
我使用AF ResourceDictionary中用于翻译WPF/XAML ResourceDictionary中有空格
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:System="clr-namespace:System;assembly=mscorlib">
<System:String x:Key="NumStartsTotal">Total: </System:String>
</ResourceDictionary>
我访问这样的:
<TextBlock Text="{DynamicResource NumStartsTotal}" />
我想输出为 “总计:”(与空白处),但它出来“总:”(没有空白处)。
这是故意的吗?我该如何改变它?
谢谢! - 让我知道你是否需要更多信息!