# C1.Win.TouchToolKit.ControlZoomPolicy

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_TouchToolKit_ControlZoomPolicy" data-uid="C1.Win.TouchToolKit.ControlZoomPolicy" class="text-break">ControlZoomPolicy Class
</h1>
  <div class="markdown level0 summary"><p>Represents a base zoom policy for controls.</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"><a class="xref" href="C1.Win.TouchToolKit.ZoomPolicy.html">ZoomPolicy</a></div>
    <div class="level2"><span class="xref">ControlZoomPolicy</span></div>
      <div class="level3"><a class="xref" href="C1.Win.TouchToolKit.ComboBoxZoomPolicy.html">ComboBoxZoomPolicy</a></div>
      <div class="level3"><a class="xref" href="C1.Win.TouchToolKit.ListBoxZoomPolicy.html">ListBoxZoomPolicy</a></div>
      <div class="level3"><a class="xref" href="C1.Win.TouchToolKit.MonthCalendarZoomPolicy.html">MonthCalendarZoomPolicy</a></div>
      <div class="level3"><a class="xref" href="C1.Win.TouchToolKit.PictureBoxZoomPolicy.html">PictureBoxZoomPolicy</a></div>
      <div class="level3"><a class="xref" href="C1.Win.TouchToolKit.PropertyGridZoomPolicy.html">PropertyGridZoomPolicy</a></div>
      <div class="level3"><a class="xref" href="C1.Win.TouchToolKit.ScrollableControlZoomPolicy.html">ScrollableControlZoomPolicy</a></div>
      <div class="level3"><a class="xref" href="C1.Win.TouchToolKit.TreeViewZoomPolicy.html">TreeViewZoomPolicy</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.TouchToolKit.html">C1.Win.TouchToolKit</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.TouchToolKit.4.8.dll</h6>
  <h5 id="C1_Win_TouchToolKit_ControlZoomPolicy_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ControlZoomPolicy : ZoomPolicy</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ControlZoomPolicy
    Inherits ZoomPolicy</code></pre>
  </div>
  <h5 id="C1_Win_TouchToolKit_ControlZoomPolicy_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>
This zoom policy will find a public property which named "ZoomFactor" (ignore case) and its type is float or double. 
If the property is found, try to set this property by <a class="xref" href="C1.Win.TouchToolKit.C1Zoom.ZoomFactor.html#C1_Win_TouchToolKit_C1Zoom_ZoomFactor">GcZoom.ZoomFactor</a> or <a class="xref" href="C1.Win.TouchToolKit.C1ZoomPanel.ZoomFactor.html#C1_Win_TouchToolKit_C1ZoomPanel_ZoomFactor">GcZoomPanel.ZoomFactor</a>.
</p>
<p>
If the control has the "ZoomFactor" property, this zoom policy will not do other zoom operations and <a class="xref" href="C1.Win.TouchToolKit.ControlZoomPolicy.CanZoomChildren.html#C1_Win_TouchToolKit_ControlZoomPolicy_CanZoomChildren_System_Windows_Forms_Control_">CanZoomChildren(Control)</a> is also return <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.
</p>
</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_Win_TouchToolKit_ControlZoomPolicy__ctor" data-uid="C1.Win.TouchToolKit.ControlZoomPolicy.#ctor">
          <a class="xref" href="C1.Win.TouchToolKit.ControlZoomPolicy.-ctor.html#C1_Win_TouchToolKit_ControlZoomPolicy__ctor">ControlZoomPolicy()</a>
        </td>
        <td class="markdown level1 summary"></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_Win_TouchToolKit_ControlZoomPolicy_TargetType" data-uid="C1.Win.TouchToolKit.ControlZoomPolicy.TargetType">
          <a class="xref" href="C1.Win.TouchToolKit.ControlZoomPolicy.TargetType.html#C1_Win_TouchToolKit_ControlZoomPolicy_TargetType">TargetType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type indicates which control type can use this policy.</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_Win_TouchToolKit_ControlZoomPolicy_CanZoomChildren_System_Windows_Forms_Control_" data-uid="C1.Win.TouchToolKit.ControlZoomPolicy.CanZoomChildren(System.Windows.Forms.Control)">
          <a class="xref" href="C1.Win.TouchToolKit.ControlZoomPolicy.CanZoomChildren.html#C1_Win_TouchToolKit_ControlZoomPolicy_CanZoomChildren_System_Windows_Forms_Control_">CanZoomChildren(Control)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the children controls can be zoomed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TouchToolKit_ControlZoomPolicy_ZoomBounds_System_Windows_Forms_Control_C1_Win_TouchToolKit_ZoomBoundsInfo_" data-uid="C1.Win.TouchToolKit.ControlZoomPolicy.ZoomBounds(System.Windows.Forms.Control,C1.Win.TouchToolKit.ZoomBoundsInfo)">
          <a class="xref" href="C1.Win.TouchToolKit.ControlZoomPolicy.ZoomBounds.html#C1_Win_TouchToolKit_ControlZoomPolicy_ZoomBounds_System_Windows_Forms_Control_C1_Win_TouchToolKit_ZoomBoundsInfo_">ZoomBounds(Control, ZoomBoundsInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Zoom the control bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TouchToolKit_ControlZoomPolicy_ZoomFont_System_Windows_Forms_Control_C1_Win_TouchToolKit_ZoomFontInfo_" data-uid="C1.Win.TouchToolKit.ControlZoomPolicy.ZoomFont(System.Windows.Forms.Control,C1.Win.TouchToolKit.ZoomFontInfo)">
          <a class="xref" href="C1.Win.TouchToolKit.ControlZoomPolicy.ZoomFont.html#C1_Win_TouchToolKit_ControlZoomPolicy_ZoomFont_System_Windows_Forms_Control_C1_Win_TouchToolKit_ZoomFontInfo_">ZoomFont(Control, ZoomFontInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Zoom the control font.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.Win.TouchToolKit.ZoomPolicy.html">ZoomPolicy</a></div>
  </div>

</div>
