# C1.Win.Command.DrawBarEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Command_DrawBarEventArgs" data-uid="C1.Win.Command.DrawBarEventArgs" class="text-break">DrawBarEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the DrawBar event.</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="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">DrawBarEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Command.html">C1.Win.Command</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Command.4.8.dll</h6>
  <h5 id="C1_Win_Command_DrawBarEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DrawBarEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DrawBarEventArgs
    Inherits EventArgs</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_Win_Command_DrawBarEventArgs__ctor_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Drawing2D_GraphicsPath_System_Boolean_" data-uid="C1.Win.Command.DrawBarEventArgs.#ctor(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Drawing2D.GraphicsPath,System.Boolean)">
          <a class="xref" href="C1.Win.Command.DrawBarEventArgs.-ctor.html#C1_Win_Command_DrawBarEventArgs__ctor_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Drawing2D_GraphicsPath_System_Boolean_">DrawBarEventArgs(Graphics, Rectangle, GraphicsPath, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the DrawBarEventArgs class</p>
</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_Win_Command_DrawBarEventArgs_Bounds" data-uid="C1.Win.Command.DrawBarEventArgs.Bounds">
          <a class="xref" href="C1.Win.Command.DrawBarEventArgs.Bounds.html">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>The bounding rectangle of the bar (menu or toolbar).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_DrawBarEventArgs_Done" data-uid="C1.Win.Command.DrawBarEventArgs.Done">
          <a class="xref" href="C1.Win.Command.DrawBarEventArgs.Done.html">Done</a>
        </td>
        <td class="markdown level1 summary"><p>Flag indicating whether the user completed the drawing. If set to true, no further drawing is performed.
Otherwise, the default drawing is done.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_DrawBarEventArgs_Graphics" data-uid="C1.Win.Command.DrawBarEventArgs.Graphics">
          <a class="xref" href="C1.Win.Command.DrawBarEventArgs.Graphics.html">Graphics</a>
        </td>
        <td class="markdown level1 summary"><p>The Graphics object to draw on.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_DrawBarEventArgs_Path" data-uid="C1.Win.Command.DrawBarEventArgs.Path">
          <a class="xref" href="C1.Win.Command.DrawBarEventArgs.Path.html">Path</a>
        </td>
        <td class="markdown level1 summary"><p>The graphics path bounding the bar (menu or toolbar).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
