# C1.Win.Themes.ThemeBackground

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Themes_ThemeBackground" data-uid="C1.Win.Themes.ThemeBackground" class="text-break">ThemeBackground Class
</h1>
  <div class="markdown level0 summary"><p>The base class for different types of theme backgrounds.</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">ThemeBackground</span></div>
      <div class="level2"><a class="xref" href="C1.Win.Themes.ThemeGradientBackground.html">ThemeGradientBackground</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Themes.ThemeSolidBackground.html">ThemeSolidBackground</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.10.dll</h6>
  <h5 id="C1_Win_Themes_ThemeBackground_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ThemeBackground</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class ThemeBackground</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_ThemeBackground__ctor" data-uid="C1.Win.Themes.ThemeBackground.#ctor">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.-ctor.html#C1_Win_Themes_ThemeBackground__ctor">ThemeBackground()</a>
        </td>
        <td class="markdown level1 summary"></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_Themes_ThemeBackground_Transparent" data-uid="C1.Win.Themes.ThemeBackground.Transparent">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.Transparent.html">Transparent</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <a class="xref" href="C1.Win.Themes.ThemeSolidBackground.html">ThemeSolidBackground</a> with the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> that is transparent.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_ThemeBackground_White" data-uid="C1.Win.Themes.ThemeBackground.White">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.White.html">White</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <a class="xref" href="C1.Win.Themes.ThemeSolidBackground.html">ThemeSolidBackground</a> with the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> that is white.</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_Themes_ThemeBackground_BackgroundType" data-uid="C1.Win.Themes.ThemeBackground.BackgroundType">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.BackgroundType.html#C1_Win_Themes_ThemeBackground_BackgroundType">BackgroundType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets background type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_ThemeBackground_Valid" data-uid="C1.Win.Themes.ThemeBackground.Valid">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.Valid.html#C1_Win_Themes_ThemeBackground_Valid">Valid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the background 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_ThemeBackground_GetBrush" data-uid="C1.Win.Themes.ThemeBackground.GetBrush">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.GetBrush.html#C1_Win_Themes_ThemeBackground_GetBrush">GetBrush()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the background brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_ThemeBackground_GetSolidColor" data-uid="C1.Win.Themes.ThemeBackground.GetSolidColor">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.GetSolidColor.html#C1_Win_Themes_ThemeBackground_GetSolidColor">GetSolidColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns Color that can be used instead of background when
element does not support special background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_ThemeBackground_SerializeAfterDeserialization_C1_Win_Themes_Serialization_Serializer_" data-uid="C1.Win.Themes.ThemeBackground.SerializeAfterDeserialization(C1.Win.Themes.Serialization.Serializer)">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.SerializeAfterDeserialization.html#C1_Win_Themes_ThemeBackground_SerializeAfterDeserialization_C1_Win_Themes_Serialization_Serializer_">SerializeAfterDeserialization(Serializer)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_ThemeBackground_SerializeReadProp_C1_Win_Themes_Serialization_Serializer_System_String_System_Type_System_String_" data-uid="C1.Win.Themes.ThemeBackground.SerializeReadProp(C1.Win.Themes.Serialization.Serializer,System.String,System.Type,System.String)">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.SerializeReadProp.html#C1_Win_Themes_ThemeBackground_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_ThemeBackground_SerializeReset" data-uid="C1.Win.Themes.ThemeBackground.SerializeReset">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.SerializeReset.html#C1_Win_Themes_ThemeBackground_SerializeReset">SerializeReset()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_ThemeBackground_SerializeWrite_C1_Win_Themes_Serialization_Serializer_" data-uid="C1.Win.Themes.ThemeBackground.SerializeWrite(C1.Win.Themes.Serialization.Serializer)">
          <a class="xref" href="C1.Win.Themes.ThemeBackground.SerializeWrite.html#C1_Win_Themes_ThemeBackground_SerializeWrite_C1_Win_Themes_Serialization_Serializer_">SerializeWrite(Serializer)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
