0
上午乡亲,Silverlight 4的日程表绑定到SelectedDate不更新
我使用Silverlight 4中,并使用日历对象的SelectedDate尝试填充文字块的文本元素,但改变日历ISN”的选择牛逼更新绑定:
<TextBlock x:Name="currentWeekLabel" Text="{Binding SelectedDate, ElementName=ByWeekCalendar, Converter={StaticResource WeekChosenConverter}, Mode=OneWay}"
VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Row="0" Grid.Column="0" Foreground="White" Padding="10 0 0 0" FontWeight="Black" />
我没有得到任何约束力的错误,但我需要实现对selectedDate属性什么的INotifyPropertyChanged的,我不明白为什么从来没有被输入的转换器。
感谢, 贝基
“早上”,早上何时何地? – AnthonyWJones 2010-12-15 13:07:13