Guest User

Untitled

a guest
Sep 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <i:Interaction.Triggers>
  2. <i:EventTrigger
  3. EventName="SelectionChanged">
  4. <mvvm:EventToCommand
  5. Command="{Binding OnCategoryChangedCommand}"
  6. CommandParameter="{Binding SelectedItem, ElementName=comboBoxCategory}" />
  7. <!--todo 数据绑定写入绑定源先触发?还是事件触发器先触发?-->
  8. </i:EventTrigger>
  9. </i:Interaction.Triggers>
  10.  
  11. xmlns:mvvm="http://www.galasoft.ch/mvvmlight"
  12. xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
  13.  
  14. Could not load file or assembly 'GalaSoft.MvvmLight.Platform, PublicKeyToken=null' or one of its dependencies.
Add Comment
Please, Sign In to add comment