# GrapeCity.ActiveReports.Viewer.Wpf.Viewer.Source

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_Source_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.Source*">Source Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_Source_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.Source*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_Source" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.Source">Source</h4>
<div class="markdown level1 summary"><p>Gets or sets the local or remote URI of the report to display in the Viewer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Uri Source { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">Uri</span></td>
      <td><p>A <span class="xref">System.Uri</span> representing the source URI of the report.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_Source_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the <span class="xref">System.Uri</span> does not have an extension, sets <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.SourceFormat.html#GrapeCity_ActiveReports_Viewer_Wpf_Viewer_SourceFormat">SourceFormat</a>.</p>
</div>
<h5 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_Source_examples">Examples</h5>
<pre><code class="lang-csharp">viewer.Source = new Uri("http://www.mysite.com/invoice.rpx");</code></pre>

</div>
