# C1.Win.Design.DesignUtil

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Design_DesignUtil" data-uid="C1.Win.Design.DesignUtil" class="text-break">DesignUtil Class
</h1>
  <div class="markdown level0 summary"><p>Provides various tool methods for design time.</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">DesignUtil</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Design.html">C1.Win.Design</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Design_DesignUtil_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class DesignUtil</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module DesignUtil</code></pre>
  </div>
  <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_Design_DesignUtil_InDebugMode_System_ComponentModel_Design_IDesignerHost_" data-uid="C1.Win.Design.DesignUtil.InDebugMode(System.ComponentModel.Design.IDesignerHost)">
          <a class="xref" href="C1.Win.Design.DesignUtil.InDebugMode.html#C1_Win_Design_DesignUtil_InDebugMode_System_ComponentModel_Design_IDesignerHost_">InDebugMode(IDesignerHost)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the debugger is running for the specified IDesignerHost.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Design_DesignUtil_IsInDesignMode" data-uid="C1.Win.Design.DesignUtil.IsInDesignMode">
          <a class="xref" href="C1.Win.Design.DesignUtil.IsInDesignMode.html#C1_Win_Design_DesignUtil_IsInDesignMode">IsInDesignMode()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether code is executing inside Visual Studio designer.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
