# C1.Document.C1SolidBrush

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_C1SolidBrush" data-uid="C1.Document.C1SolidBrush" class="text-break">C1SolidBrush Class
</h1>
  <div class="markdown level0 summary"><p>Defines a brush of a single color.</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.Document.VisualPrimitive.html">VisualPrimitive</a></div>
    <div class="level2"><a class="xref" href="C1.Document.C1Brush.html">C1Brush</a></div>
    <div class="level3"><span class="xref">C1SolidBrush</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Document.html">C1.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_C1SolidBrush_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1SolidBrush : C1Brush, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1SolidBrush
    Inherits C1Brush
    Implements INotifyPropertyChanged, ICloneable</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_Document_C1SolidBrush__ctor" data-uid="C1.Document.C1SolidBrush.#ctor">
          <a class="xref" href="C1.Document.C1SolidBrush.-ctor.html#C1_Document_C1SolidBrush__ctor">C1SolidBrush()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Document.C1SolidBrush.html">C1SolidBrush</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1SolidBrush__ctor_System_Drawing_Color_" data-uid="C1.Document.C1SolidBrush.#ctor(System.Drawing.Color)">
          <a class="xref" href="C1.Document.C1SolidBrush.-ctor.html#C1_Document_C1SolidBrush__ctor_System_Drawing_Color_">C1SolidBrush(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Document.C1SolidBrush.html">C1SolidBrush</a> 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_Document_C1SolidBrush_Color" data-uid="C1.Document.C1SolidBrush.Color">
          <a class="xref" href="C1.Document.C1SolidBrush.Color.html#C1_Document_C1SolidBrush_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of this <a class="xref" href="C1.Document.C1SolidBrush.html">C1SolidBrush</a> object.</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_Document_C1SolidBrush_AssignFrom_C1_Document_VisualPrimitive_" data-uid="C1.Document.C1SolidBrush.AssignFrom(C1.Document.VisualPrimitive)">
          <a class="xref" href="C1.Document.C1SolidBrush.AssignFrom.html#C1_Document_C1SolidBrush_AssignFrom_C1_Document_VisualPrimitive_">AssignFrom(VisualPrimitive)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.Document.VisualPrimitive.html">VisualPrimitive</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1SolidBrush_Compare_C1_Document_VisualPrimitive_" data-uid="C1.Document.C1SolidBrush.Compare(C1.Document.VisualPrimitive)">
          <a class="xref" href="C1.Document.C1SolidBrush.Compare.html#C1_Document_C1SolidBrush_Compare_C1_Document_VisualPrimitive_">Compare(VisualPrimitive)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares this <a class="xref" href="C1.Document.VisualPrimitive.html">VisualPrimitive</a> object with another <a class="xref" href="C1.Document.VisualPrimitive.html">VisualPrimitive</a> object
returns <b>true</b> if objects represent same object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1SolidBrush_CreateSame" data-uid="C1.Document.C1SolidBrush.CreateSame">
          <a class="xref" href="C1.Document.C1SolidBrush.CreateSame.html#C1_Document_C1SolidBrush_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an object of the same type as the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_C1SolidBrush_GetHashCodeInt" data-uid="C1.Document.C1SolidBrush.GetHashCodeInt">
          <a class="xref" href="C1.Document.C1SolidBrush.GetHashCodeInt.html#C1_Document_C1SolidBrush_GetHashCodeInt">GetHashCodeInt()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
