WPF的handycontrol中时间选择器

时间选择器,这样可以

<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" Style="{StaticResource DateTimePickerPlus}" Text="{Binding locationCardModel.MiddleShift, Mode=TwoWay}"  
                                           Width="400" FontSize="14"  />

这个添加了Text="{Binding locationCardModel.MiddleShift}" 就不行,去掉Text就不会报错了

<hc:TimePicker hc:InfoElement.ShowClearButton="True" Style="{StaticResource TimePickerExtend}" Text="{Binding locationCardModel.MiddleShift}"  
                                           Width="400" FontSize="14"/>

这个是为什么
报错

img

MainWindow的构造函数贴一下