title: CallMethodAction doesn't execute code-behind methods in Windows Phone 8.1
body: <p>I created a simple XAML page:</p>
  
  <pre><code>    &lt;Page.DataContext&gt;
          &lt;local:MainPageViewModel /&gt;
      &lt;/Page.DataContext&gt;
  
      &lt;Interactivity:Interaction.Behaviors&gt;
          &lt;Core:DataTriggerBehavior Binding="{Binding MyNumber}" Value="3"&gt;
              &lt;Core:CallMethodAction MethodName="TestMethod" TargetObject="{Binding ElementName=page}" /&gt;
              &lt;Core:CallMethodAction MethodName="ViewModelMethod" TargetObject="{Binding Mode=OneWay}" /&gt;
          &lt;/Core:DataTriggerBehavior&gt;
      &lt;/Interactivity:Interaction.Behaviors&gt;
  
      &lt;Grid&gt;
  
          &lt;TextBox
              Margin="0"
              HorizontalAlignment="Center"
              VerticalAlignment="Center"
              Text="{Binding MyNumber,
                                  Mode=TwoWay}"
              TextWrapping="Wrap" /&gt;
  
      &lt;/Grid&gt;
  </code></pre>
  
  <p>And a ViewModel for this page:</p>
  
  <pre><code>    public class MainPageViewModel : INotifyPropertyChanged
      {
          private int _myNumber;
  
          public int MyNumber
          {
              get { return _myNumber; }
              set
              {
                  _myNumber = value;
                  RaisePropertyChanged("MyNumber");
                  Debug.WriteLine("Property MyNumber changed.");
              }
          }
  
          public void ViewModelMethod()
          {
              Debug.WriteLine("ViewModelMethod called.");
          }
  
          #region INotifyPropertyChanged
  
          public event PropertyChangedEventHandler PropertyChanged;
  
          protected void RaisePropertyChanged(string propertyName)
          {
              if (PropertyChanged != null)
              {
                  PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
              }
          }
  
          #endregion INotifyPropertyChanged
      }
  </code></pre>
  
  <p>In the page code behind, I added the following method:</p>
  
  <pre><code>        public void TestMethod()
          {
              Debug.WriteLine("Method TestMethod called.");
          }
  </code></pre>
  
  <p>When I enter number 3 in the TextBox, only the second CallMethodAction gets executed.</p>
  
  <p>The TextMethod in the code behind doesn't execute. Why? I never had this problem in Windows Phone 8.</p>