示例#1
0
 private void UpdateTriggers()
 {
     if (partListBox != null)
     {
         partListBox.ItemsSource = null;
         if (SelectedItems != null && SelectedItems.Any())
         {
             partListBox.ItemsSource = InteractionHelper.GetTriggers(SelectedItems);
         }
     }
 }
示例#2
0
 public IEnumerable <DesignItem> GetTriggers(DesignItem designItem)
 {
     return(InteractionHelper.GetTriggers(designItem));
 }