title: Command not being found
body: <p>I'm making an Windows 8.1 app with MVVM Light for school. The problem I'm facing is with the Command property.
  I would want to have the clicked Movie object to send it to a different page and display more info about it.
  However the binding fails: The binding doesn't search in my DataContext but in my Movie model for a command. :(</p>
  
  <p>Error Message:</p>
  
  <blockquote>
  Error: BindingExpression path error: 'ShowInfoMovieCommand' property not found on 'Howest.NMCT.RottenTomatoes.Models.Movie, Howest.NMCT.RottenTomatoes.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. BindingExpression: Path='ShowInfoMovieCommand' DataItem='Howest.NMCT.RottenTomatoes.Models.Movie, Howest.NMCT.RottenTomatoes.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'; target element is 'Microsoft.Xaml.Interactions.Core.InvokeCommandAction' (Name='null'); target property is 'Command' (type 'ICommand')
  </blockquote>
  
  <p>My XAML code in my view (The Data Context is set on top of the page)</p>
  
  <pre><code>DataContext="{Binding GroupedItemsPageViewModel, Source={StaticResource Locator}}"
  </code></pre>
  
  <p>
      
          
      
      
          
              
                  
                      
                  
              
          
      
  </p>
  
  <p>The ItemTemplate for displaying the movies</p>
  
  <pre><code>&lt;DataTemplate x:Key="RottenTomatoesMovieItemTemplate"&gt;
      &lt;Grid HorizontalAlignment="Left" Width="250" Height="230"&gt;
          &lt;Interactivity:Interaction.Behaviors&gt;
              &lt;Core:EventTriggerBehavior EventName="Tapped"&gt;
                  &lt;Core:InvokeCommandAction **Command="{Binding ShowInfoMovieCommand}" CommandParameter="{Binding id}"/&gt;**
              &lt;/Core:EventTriggerBehavior&gt;
          &lt;/Interactivity:Interaction.Behaviors&gt;
          &lt;Border&gt;
              &lt;Image Source="{Binding posters.original}" Stretch="UniformToFill"/&gt;
          &lt;/Border&gt;
          &lt;Grid VerticalAlignment="Bottom" Background="#B2CF4400" Height="50"&gt;
              &lt;Grid.RowDefinitions&gt;
                  &lt;RowDefinition Height="18*"/&gt;
                  &lt;RowDefinition Height="21*"/&gt;
                  &lt;RowDefinition Height="11*"/&gt;
              &lt;/Grid.RowDefinitions&gt;
              &lt;Grid.ColumnDefinitions&gt;
                  &lt;ColumnDefinition Width="24*"/&gt;
                  &lt;ColumnDefinition Width="101*"/&gt;
              &lt;/Grid.ColumnDefinitions&gt;
              &lt;TextBlock x:Name="TitleTextblock" Text="{Binding title}" Foreground="{StaticResource ListViewItemOverlayForegroundThemeBrush}" Style="{StaticResource TitleTextStyle}"  Margin="15,0,0,0" Grid.ColumnSpan="2"/&gt;
              &lt;Image Source="{Binding ratings.critics_rating, Converter={StaticResource RatingToPhotoConverter}}" Width="15" HorizontalAlignment="Left" Margin="15,0,0,0" Grid.Row="1"/&gt;
              &lt;TextBlock Text="{Binding ratings, Converter={StaticResource RatingToPercentFormat}}" Foreground="{StaticResource ListViewItemOverlaySecondaryForegroundThemeBrush}" Style="{StaticResource CaptionTextStyle}" TextWrapping="NoWrap" Grid.Column="1" Grid.Row="1" /&gt;
          &lt;/Grid&gt;
      &lt;/Grid&gt;
  &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>My ViewModel for the Page (GroupedItemsPageViewModel)</p>
  
  <pre><code>private void ShowInfoMovie(object clickedMovie)
  {
      Debug.WriteLine(clickedMovie);
  }
  
  private RelayCommand&lt;object&gt; _showInfoMovieCommand;
  public RelayCommand&lt;object&gt; ShowInfoMovieCommand
  {
      get
      {
          if (_showInfoMovieCommand == null)
          {
              _showInfoMovieCommand = new RelayCommand&lt;object&gt;(
                  param =&gt; this.ShowInfoMovie(param)
                  );
          }
          return _showInfoMovieCommand;
      }
  }
  </code></pre>