# C1.Maui.Chart.Interaction.ZoomBehavior

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Maui_Chart_Interaction_ZoomBehavior" data-uid="C1.Maui.Chart.Interaction.ZoomBehavior" class="text-break">ZoomBehavior Class
</h1>
  <div class="markdown level0 summary"><p>Represents zoom behavior.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ZoomBehavior</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Maui.Chart.Interaction.html">C1.Maui.Chart.Interaction</a></h6>
  <h6><strong>Assembly</strong>: C1.Maui.Chart.dll</h6>
  <h5 id="C1_Maui_Chart_Interaction_ZoomBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ZoomBehavior : Behavior&lt;FlexChart&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ZoomBehavior
    Inherits Behavior(Of FlexChart)</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Maui_Chart_Interaction_ZoomBehavior__ctor" data-uid="C1.Maui.Chart.Interaction.ZoomBehavior.#ctor">
          <a class="xref" href="C1.Maui.Chart.Interaction.ZoomBehavior.-ctor.html#C1_Maui_Chart_Interaction_ZoomBehavior__ctor">ZoomBehavior()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Maui_Chart_Interaction_ZoomBehavior_ZoomModeProperty" data-uid="C1.Maui.Chart.Interaction.ZoomBehavior.ZoomModeProperty">
          <a class="xref" href="C1.Maui.Chart.Interaction.ZoomBehavior.ZoomModeProperty.html">ZoomModeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Chart.Interaction.ZoomBehavior.ZoomMode.html#C1_Maui_Chart_Interaction_ZoomBehavior_ZoomMode">ZoomMode</a> dependency property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Maui_Chart_Interaction_ZoomBehavior_MaxZoom" data-uid="C1.Maui.Chart.Interaction.ZoomBehavior.MaxZoom">
          <a class="xref" href="C1.Maui.Chart.Interaction.ZoomBehavior.MaxZoom.html#C1_Maui_Chart_Interaction_ZoomBehavior_MaxZoom">MaxZoom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or set the maximum zoom level.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Chart_Interaction_ZoomBehavior_ZoomMode" data-uid="C1.Maui.Chart.Interaction.ZoomBehavior.ZoomMode">
          <a class="xref" href="C1.Maui.Chart.Interaction.ZoomBehavior.ZoomMode.html#C1_Maui_Chart_Interaction_ZoomBehavior_ZoomMode">ZoomMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the gesture direction of zoom behavior.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Maui_Chart_Interaction_ZoomBehavior_OnAttachedTo_C1_Maui_Chart_FlexChart_" data-uid="C1.Maui.Chart.Interaction.ZoomBehavior.OnAttachedTo(C1.Maui.Chart.FlexChart)">
          <a class="xref" href="C1.Maui.Chart.Interaction.ZoomBehavior.OnAttachedTo.html#C1_Maui_Chart_Interaction_ZoomBehavior_OnAttachedTo_C1_Maui_Chart_FlexChart_">OnAttachedTo(FlexChart)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Maui_Chart_Interaction_ZoomBehavior_OnDetachingFrom_C1_Maui_Chart_FlexChart_" data-uid="C1.Maui.Chart.Interaction.ZoomBehavior.OnDetachingFrom(C1.Maui.Chart.FlexChart)">
          <a class="xref" href="C1.Maui.Chart.Interaction.ZoomBehavior.OnDetachingFrom.html#C1_Maui_Chart_Interaction_ZoomBehavior_OnDetachingFrom_C1_Maui_Chart_FlexChart_">OnDetachingFrom(FlexChart)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Maui_Chart_Interaction_ZoomBehavior_Reset" data-uid="C1.Maui.Chart.Interaction.ZoomBehavior.Reset">
          <a class="xref" href="C1.Maui.Chart.Interaction.ZoomBehavior.Reset.html#C1_Maui_Chart_Interaction_ZoomBehavior_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets zoom to default value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
