Problems adding Blend behavior to DatePicker
问题 I'm trying to add a Blend behavior to a DatePicker control to bind an MVVM-Light RelayCommand to the DateChanged event like so: <DatePicker Date="{Binding SelectedDate, Mode=TwoWay}"> <Interactivity:Interaction.Behaviors> <Core:EventTriggerBehavior EventName="DateChanged"> <Core:InvokeCommandAction Command="{Binding DateChangedCommand, Mode=OneWay}"/> </Core:EventTriggerBehavior> </Interactivity:Interaction.Behaviors> </DatePicker> I'm using the following definitions: xmlns:Interactivity=