# C1.WPF.C1ListViewer.ZoomAnimation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_C1ListViewer_ZoomAnimation_" data-uid="C1.WPF.C1ListViewer.ZoomAnimation*">ZoomAnimation Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_C1ListViewer_ZoomAnimation_" data-uid="C1.WPF.C1ListViewer.ZoomAnimation*"></a>
<h4 id="C1_WPF_C1ListViewer_ZoomAnimation_System_Double_System_Windows_Point_System_Action_" data-uid="C1.WPF.C1ListViewer.ZoomAnimation(System.Double,System.Windows.Point,System.Action)">ZoomAnimation(double, Point, Action)</h4>
<div class="markdown level1 summary"><p>Call a zooms animation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ZoomAnimation(double targetZoom, Point screenPoint, Action completed)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ZoomAnimation(targetZoom As Double, screenPoint As Point, completed As Action)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">targetZoom</span></td>
      <td><p>The target zoom.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.point">Point</a></td>
      <td><span class="parametername">screenPoint</span></td>
      <td><p>A screen point where the animation is anchored.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></td>
      <td><span class="parametername">completed</span></td>
      <td><p>Action called when the the animation completed.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
