title: Can't execute binding command
body: <p>I have a button like this:</p>
  
  <pre><code>&lt;Button Content="Gönder" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="932,23,0,0" Height="25" Command="{Binding Path=SetTeamList}" CommandParameter="{Binding ElementName=UrlBox, Path=Text}"/&gt;
  </code></pre>
  
  <p>And at the VM, i have a method</p>
  
  <pre><code>public void SetTeamList(string Url)
  {
      //Some things here
  }
  </code></pre>
  
  <p>The solution is WinForms app, so i set DataContext like this:</p>
  
  <pre><code>var view = new dTeamMapperForm();
  view.DataContext = new TeamMappingVM();
  elementHost1.Child = view;
  </code></pre>
  
  <p>Nothing happens when i click the button, no error or something. I put break point to SetTeamList method and it's not executing on button click.</p>
  
  <p>Edit: I have changed the whole VM, now it looks like:</p>
  
  <pre><code>class TeamMappingVM : INotifyPropertyChanged
      {
          public ObservableCollection&lt;Team&gt; TeamList { get; set; }
          public ICommand SetTeamsCommand { get; internal set; }
          private string _url;
  
          public string Url
          {
              get { return _url; }
              set
              {
                  _url = value;
                  NotifyPropertyChanged("Url");
              }
          }
  
  
          public void SetTeamList()
          {
              var mapper = new TeamMapper();
              TeamList = new ObservableCollection&lt;Team&gt;(mapper.MapTeams(Url));
          }
  
          public bool CanParseTeams()
          {
              return !string.IsNullOrEmpty(Url);
          }
  
          public TeamMappingVM()
          {
              SetTeamsCommand = new RelayCommand(SetTeamList, CanParseTeams);
          }
  
          public event PropertyChangedEventHandler PropertyChanged;
          protected void NotifyPropertyChanged(String info)
          {
              if (PropertyChanged != null)
              {
                  PropertyChanged(this, new PropertyChangedEventArgs(info));
              }
          }
      }
  </code></pre>