title: Binding converter to XAML in windows phone 8 app
body: <p><strong>my .xaml page code</strong>:</p>
  
  <pre><code>&lt;phone:PhoneApplicationPage
      x:Class="MVVM1Test.MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
      xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:converter="clr-namespace:MVVM1Test.Resources.Converters"
      mc:Ignorable="d"
      SupportedOrientations="Portrait" Orientation="Portrait"
      shell:SystemTray.IsVisible="True"&gt;
  
      &lt;phone:PhoneApplicationPage.Resources&gt;
          &lt;converter:NotConverter x:Name="not"&gt;&lt;/converter:NotConverter&gt;
      &lt;/phone:PhoneApplicationPage.Resources&gt;
  
      &lt;!--LayoutRoot is the root grid where all page content is placed--&gt;
      &lt;Grid x:Name="LayoutRoot" Background="Gray"&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="Auto"/&gt;
              &lt;RowDefinition Height="*"/&gt;
          &lt;/Grid.RowDefinitions&gt;
      &lt;/Grid&gt;
  
  &lt;/phone:PhoneApplicationPage&gt;
  </code></pre>
  
  <p><strong>notconverter.cs</strong></p>
  
  <pre><code>namespace MVVM1Test.Resources.Converters
  {
      public class NotConverter : IValueConverter
      {
          public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
          {
              return !(bool)value;
          }
  
          public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
          {
              return !(bool)value;
          }
      }
  }
  </code></pre>
  
  <p>it is showing an error</p>
  
  <blockquote>
    <p>"the name NotConverter does not exists in the namespace clr-namespace:MVVM1Test.Resources.Converters"</p>
  </blockquote>
  
  <p>But i have added the converter class also to the solution.  </p>