关于WPF 转换器的问题
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Styles\Styles.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:TSmallHelper.Converter">
<local:TemperatureValueConverter x:Key="mTemperatureValueConverter"/>
<UserControl x:Class="TSmallHelper.Views.Index"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
Height="118" Width="215" Background="{Binding Path=TodayTemperature,Converter={StaticResource mTemperatureValueConverter}}">
这是声明步骤,但是调试打断点,没法进TemperatureValueConverter,而且这个Converter 没有起任何作用,请问这是怎么回事?