# C1.Win.Themes.GradientColors

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Themes_GradientColors" data-uid="C1.Win.Themes.GradientColors" class="text-break">GradientColors Class
</h1>
  <div class="markdown level0 summary"><p>Represents a gradient colors.</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">GradientColors</span></div>
      <div class="level2"><a class="xref" href="C1.Win.Themes.MultiColorGradient.html">MultiColorGradient</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Themes.TwoColorGradient.html">TwoColorGradient</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Themes.html">C1.Win.Themes</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Themes.4.8.dll</h6>
  <h5 id="C1_Win_Themes_GradientColors_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class GradientColors</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class GradientColors</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_Themes_GradientColors__ctor" data-uid="C1.Win.Themes.GradientColors.#ctor">
          <a class="xref" href="C1.Win.Themes.GradientColors.-ctor.html#C1_Win_Themes_GradientColors__ctor">GradientColors()</a>
        </td>
        <td class="markdown level1 summary"></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_Themes_GradientColors_GradientType" data-uid="C1.Win.Themes.GradientColors.GradientType">
          <a class="xref" href="C1.Win.Themes.GradientColors.GradientType.html#C1_Win_Themes_GradientColors_GradientType">GradientType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets background type for this gradient.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_GradientColors_Valid" data-uid="C1.Win.Themes.GradientColors.Valid">
          <a class="xref" href="C1.Win.Themes.GradientColors.Valid.html#C1_Win_Themes_GradientColors_Valid">Valid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the gradient colors is valid.</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_Themes_GradientColors_GetDefSolidColor" data-uid="C1.Win.Themes.GradientColors.GetDefSolidColor">
          <a class="xref" href="C1.Win.Themes.GradientColors.GetDefSolidColor.html#C1_Win_Themes_GradientColors_GetDefSolidColor">GetDefSolidColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns color that can be used instead of gradient colors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_GradientColors_GetSolidColor" data-uid="C1.Win.Themes.GradientColors.GetSolidColor">
          <a class="xref" href="C1.Win.Themes.GradientColors.GetSolidColor.html#C1_Win_Themes_GradientColors_GetSolidColor">GetSolidColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns color that can be used instead of gradient colors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_GradientColors_SerializeReadProp_C1_Win_Themes_Serialization_Serializer_System_String_System_Type_System_String_" data-uid="C1.Win.Themes.GradientColors.SerializeReadProp(C1.Win.Themes.Serialization.Serializer,System.String,System.Type,System.String)">
          <a class="xref" href="C1.Win.Themes.GradientColors.SerializeReadProp.html#C1_Win_Themes_GradientColors_SerializeReadProp_C1_Win_Themes_Serialization_Serializer_System_String_System_Type_System_String_">SerializeReadProp(Serializer, string, Type, string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_GradientColors_SerializeReset" data-uid="C1.Win.Themes.GradientColors.SerializeReset">
          <a class="xref" href="C1.Win.Themes.GradientColors.SerializeReset.html#C1_Win_Themes_GradientColors_SerializeReset">SerializeReset()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_GradientColors_SerializeWrite_C1_Win_Themes_Serialization_Serializer_" data-uid="C1.Win.Themes.GradientColors.SerializeWrite(C1.Win.Themes.Serialization.Serializer)">
          <a class="xref" href="C1.Win.Themes.GradientColors.SerializeWrite.html#C1_Win_Themes_GradientColors_SerializeWrite_C1_Win_Themes_Serialization_Serializer_">SerializeWrite(Serializer)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
