# C1.Win.TouchToolKit.C1Zoom.Site

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TouchToolKit_C1Zoom_Site_" data-uid="C1.Win.TouchToolKit.C1Zoom.Site*">Site Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TouchToolKit_C1Zoom_Site_" data-uid="C1.Win.TouchToolKit.C1Zoom.Site*"></a>
<h4 id="C1_Win_TouchToolKit_C1Zoom_Site" data-uid="C1.Win.TouchToolKit.C1Zoom.Site">Site</h4>
<div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isite">ISite</a> of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override ISite Site { set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Property Site As ISite</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isite">ISite</a></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isite">ISite</a> associated with the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a>, or null if the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a> is not encapsulated in an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icontainer">IContainer</a>, the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a> does not have an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isite">ISite</a> associated with it, or the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a> is removed from its <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icontainer">IContainer</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component.site">Component.Site</a></div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a></td>
      <td><p>
This component should only add to a Form.
</p>
<p>
-or-
</p>
<p>
A form can't attach two or more GcZoom component.
</p>
<p>
-or-
</p>
<p>
Can't use GcZoom and GcZoomPanel together.
</p>
</td>
    </tr>
  </tbody>
</table>
</div>
