title: binding in wpf doesn't work, can't see why
body: <p>I have a wpf app I'm using some xaml code that should let me view pdf files,  I just started to use data biding and don't figure  way this not works for me. </p>
  
  <p>here m XAML:</p>
  
  <pre><code>&lt;Grid&gt;
  &lt;telerik:RadPdfViewerToolBar RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}" SignaturePanel="{Binding ElementName=signaturePanel, Mode=OneTime}"/&gt;
  &lt;telerik:SignaturePanel x:Name="signaturePanel" PdfViewer="{Binding ElementName=pdfViewer, Mode=OneWay}" Grid.Row="1"/&gt;
  &lt;telerik:RadPdfViewer x:Name="pdfViewer" DocumentSource="{Binding Path=PathOfPdf, Mode=TwoWay}"  DataContext="{Binding CommandDescriptors, ElementName=pdfViewer}" telerik:RadPdfViewerAttachedComponents.RegisterSignSignatureDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterFindDialog="True" Grid.Row="2" telerik:RadPdfViewerAttachedComponents.RegisterSignaturePropertiesDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterContextMenu="True"/&gt;
  &lt;Grid&gt;
  </code></pre>
  
  <p>And here code behind:</p>
  
  <pre><code>public partial class Page2 : Page, INotifyPropertyChanged
  {
  public Page2()
      {
          InitializeComponent();
          DataContext = this;
       }  
  
  private string _pathOfPdf= @"D:\MyFile.pdf";
  
      public string PathOfPdf
      {
          get{ return _pathOfPdf; }
          set{
              if (_pathOfPdf != value)
              {
                  _pathOfPdf = value;
                  OnPropertyChanged();
              }
          }
  
      }
  
      public event PropertyChangedEventHandler PropertyChanged;
      private void OnPropertyChanged([CallerMemberName] string propertyName = null)
      {
          PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
      }   
  }
  </code></pre>
  
  <p>If I'm not using Biding it works fine. I if I do(on XAML):</p>
  
  <p><code>DataContext="D:\MyFile.pdf"</code> it shows the pdf</p>