# C1.Schedule.C1Brush

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_C1Brush" data-uid="C1.Schedule.C1Brush" class="text-break">C1Brush Class
</h1>
  <div class="markdown level0 summary"><p>The base wrapper class for brushes. Only for serialization/deserialization purposes.</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">C1Brush</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Schedule.html">C1.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.ScheduleCore.dll</h6>
  <h5 id="C1_Schedule_C1Brush_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Brush : ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Brush
    Implements ISerializable</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_Schedule_C1Brush__ctor" data-uid="C1.Schedule.C1Brush.#ctor">
          <a class="xref" href="C1.Schedule.C1Brush.-ctor.html#C1_Schedule_C1Brush__ctor">C1Brush()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the new <a class="xref" href="C1.Schedule.C1Brush.html">C1Brush</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1Brush__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="C1.Schedule.C1Brush.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="C1.Schedule.C1Brush.-ctor.html#C1_Schedule_C1Brush__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">C1Brush(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Special constructor for de-serialization.</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_Schedule_C1Brush_BackColor" data-uid="C1.Schedule.C1Brush.BackColor">
          <a class="xref" href="C1.Schedule.C1Brush.BackColor.html#C1_Schedule_C1Brush_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1Brush_ForeColor" data-uid="C1.Schedule.C1Brush.ForeColor">
          <a class="xref" href="C1.Schedule.C1Brush.ForeColor.html#C1_Schedule_C1Brush_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1Brush_Style" data-uid="C1.Schedule.C1Brush.Style">
          <a class="xref" href="C1.Schedule.C1Brush.Style.html#C1_Schedule_C1Brush_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush style.</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_Schedule_C1Brush_GetARGBstring_System_Drawing_Color_" data-uid="C1.Schedule.C1Brush.GetARGBstring(System.Drawing.Color)">
          <a class="xref" href="C1.Schedule.C1Brush.GetARGBstring.html#C1_Schedule_C1Brush_GetARGBstring_System_Drawing_Color_">GetARGBstring(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns string representation of color in ARGB format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1Brush_OnPropertyChanged" data-uid="C1.Schedule.C1Brush.OnPropertyChanged">
          <a class="xref" href="C1.Schedule.C1Brush.OnPropertyChanged.html#C1_Schedule_C1Brush_OnPropertyChanged">OnPropertyChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is called on any property changes. Override it in derived classes for custom handling.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1Brush_ParseARGBString_System_String_" data-uid="C1.Schedule.C1Brush.ParseARGBString(System.String)">
          <a class="xref" href="C1.Schedule.C1Brush.ParseARGBString.html#C1_Schedule_C1Brush_ParseARGBString_System_String_">ParseARGBString(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Parses ARGB string and returns the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
