# C1.Win.Command.C1Border

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Command_C1Border" data-uid="C1.Win.Command.C1Border" class="text-break">C1Border Class
</h1>
  <div class="markdown level0 summary"><p>This class allows you to add borders to a C1ToolBar object.</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">C1Border</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_C1Border_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(C1Border.BorderTypeConverter))]
public class C1Border</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(C1Border.BorderTypeConverter))&gt;
Public Class C1Border</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_C1Border__ctor" data-uid="C1.Win.Command.C1Border.#ctor">
          <a class="xref" href="C1.Win.Command.C1Border.-ctor.html#C1_Win_Command_C1Border__ctor">C1Border()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the C1Border class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border__ctor_System_Windows_Forms_Control_" data-uid="C1.Win.Command.C1Border.#ctor(System.Windows.Forms.Control)">
          <a class="xref" href="C1.Win.Command.C1Border.-ctor.html#C1_Win_Command_C1Border__ctor_System_Windows_Forms_Control_">C1Border(Control)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the C1Border class.</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_Win_Command_C1Border_BottomEdge" data-uid="C1.Win.Command.C1Border.BottomEdge">
          <a class="xref" href="C1.Win.Command.C1Border.BottomEdge.html#C1_Win_Command_C1Border_BottomEdge">BottomEdge</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the border has a bottom edge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_DarkColor" data-uid="C1.Win.Command.C1Border.DarkColor">
          <a class="xref" href="C1.Win.Command.C1Border.DarkColor.html#C1_Win_Command_C1Border_DarkColor">DarkColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_LeftEdge" data-uid="C1.Win.Command.C1Border.LeftEdge">
          <a class="xref" href="C1.Win.Command.C1Border.LeftEdge.html#C1_Win_Command_C1Border_LeftEdge">LeftEdge</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the border has a left edge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_LightColor" data-uid="C1.Win.Command.C1Border.LightColor">
          <a class="xref" href="C1.Win.Command.C1Border.LightColor.html#C1_Win_Command_C1Border_LightColor">LightColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_RightEdge" data-uid="C1.Win.Command.C1Border.RightEdge">
          <a class="xref" href="C1.Win.Command.C1Border.RightEdge.html#C1_Win_Command_C1Border_RightEdge">RightEdge</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the border has a right edge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_Style" data-uid="C1.Win.Command.C1Border.Style">
          <a class="xref" href="C1.Win.Command.C1Border.Style.html#C1_Win_Command_C1Border_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_TopEdge" data-uid="C1.Win.Command.C1Border.TopEdge">
          <a class="xref" href="C1.Win.Command.C1Border.TopEdge.html#C1_Win_Command_C1Border_TopEdge">TopEdge</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the border has a top edge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_Width" data-uid="C1.Win.Command.C1Border.Width">
          <a class="xref" href="C1.Win.Command.C1Border.Width.html#C1_Win_Command_C1Border_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border width in pixels.</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_Command_C1Border_Draw_System_Drawing_Rectangle_System_Drawing_Graphics_" data-uid="C1.Win.Command.C1Border.Draw(System.Drawing.Rectangle,System.Drawing.Graphics)">
          <a class="xref" href="C1.Win.Command.C1Border.Draw.html#C1_Win_Command_C1Border_Draw_System_Drawing_Rectangle_System_Drawing_Graphics_">Draw(Rectangle, Graphics)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_FrameIt_System_Boolean_" data-uid="C1.Win.Command.C1Border.FrameIt(System.Boolean)">
          <a class="xref" href="C1.Win.Command.C1Border.FrameIt.html#C1_Win_Command_C1Border_FrameIt_System_Boolean_">FrameIt(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets full border around toolbar or removes border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_IsFrameOff" data-uid="C1.Win.Command.C1Border.IsFrameOff">
          <a class="xref" href="C1.Win.Command.C1Border.IsFrameOff.html#C1_Win_Command_C1Border_IsFrameOff">IsFrameOff()</a>
        </td>
        <td class="markdown level1 summary"><p>Checks if border is not visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1Border_IsFrameOn" data-uid="C1.Win.Command.C1Border.IsFrameOn">
          <a class="xref" href="C1.Win.Command.C1Border.IsFrameOn.html#C1_Win_Command_C1Border_IsFrameOn">IsFrameOn()</a>
        </td>
        <td class="markdown level1 summary"><p>Checks if border is full and visible.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
