0
public ICommand SelectionChanged
{
    get
    {
        return new RelayCommand(param => this.ExecuteSelectionChanged(param));
    }
}

private object ExecuteSelectionChanged(object param)
{
    var e = param as SelectionChangedEventArgs;
    var addedItem = e.AddedItems[0];
}

I want to do:

SelectionChanged.Execute(new SelectionChangedEventArgs( null,null, addedList)); 

But it is saying value cannot be null of event id. Any work around?

zooney
  • 341
  • 6
  • 25

1 Answers1

0
   SelectionChanged.Execute(new SelectionChangedEventArgs(ComboBox.SelectionChangedEvent, removeList,addList));
zooney
  • 341
  • 6
  • 25
  • 1
    Please add some details to the code example to explain which parts of it solve the problem. Include links to relevant documentation/reading if possible. – StuperUser Apr 16 '14 at 13:39