# C1.WPF.ThemeEx

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_ThemeEx" data-uid="C1.WPF.ThemeEx" class="text-break">ThemeEx Class
</h1>
  <div class="markdown level0 summary"><p>Provides access to system colors according to the current theme.</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">ThemeEx</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_ThemeEx_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class ThemeEx</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module ThemeEx</code></pre>
  </div>
  <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_WPF_ThemeEx_AccentBackground" data-uid="C1.WPF.ThemeEx.AccentBackground">
          <a class="xref" href="C1.WPF.ThemeEx.AccentBackground.html#C1_WPF_ThemeEx_AccentBackground">AccentBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the accent background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_AccentForeground" data-uid="C1.WPF.ThemeEx.AccentForeground">
          <a class="xref" href="C1.WPF.ThemeEx.AccentForeground.html#C1_WPF_ThemeEx_AccentForeground">AccentForeground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the accent foreground.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_BackgroundColor" data-uid="C1.WPF.ThemeEx.BackgroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.BackgroundColor.html#C1_WPF_ThemeEx_BackgroundColor">BackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the theme background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_BorderColor" data-uid="C1.WPF.ThemeEx.BorderColor">
          <a class="xref" href="C1.WPF.ThemeEx.BorderColor.html#C1_WPF_ThemeEx_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the theme used to pain the borders.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_CursorBackgroundColor" data-uid="C1.WPF.ThemeEx.CursorBackgroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.CursorBackgroundColor.html#C1_WPF_ThemeEx_CursorBackgroundColor">CursorBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the cursor background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_CursorForegroundColor" data-uid="C1.WPF.ThemeEx.CursorForegroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.CursorForegroundColor.html#C1_WPF_ThemeEx_CursorForegroundColor">CursorForegroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the cursor foreground.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_EditorBackgroundColor" data-uid="C1.WPF.ThemeEx.EditorBackgroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.EditorBackgroundColor.html#C1_WPF_ThemeEx_EditorBackgroundColor">EditorBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the theme used to pain the background of the editors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_EditorForegroundColor" data-uid="C1.WPF.ThemeEx.EditorForegroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.EditorForegroundColor.html#C1_WPF_ThemeEx_EditorForegroundColor">EditorForegroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the theme used to pain the foreground of the editors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_ForegroundColor" data-uid="C1.WPF.ThemeEx.ForegroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.ForegroundColor.html#C1_WPF_ThemeEx_ForegroundColor">ForegroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the theme foreground.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_HeaderBackgroundColor" data-uid="C1.WPF.ThemeEx.HeaderBackgroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.HeaderBackgroundColor.html#C1_WPF_ThemeEx_HeaderBackgroundColor">HeaderBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the theme used to pain the headers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_HeaderForegroundColor" data-uid="C1.WPF.ThemeEx.HeaderForegroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.HeaderForegroundColor.html#C1_WPF_ThemeEx_HeaderForegroundColor">HeaderForegroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the theme used to pain the headers foreground.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_IsDark" data-uid="C1.WPF.ThemeEx.IsDark">
          <a class="xref" href="C1.WPF.ThemeEx.IsDark.html#C1_WPF_ThemeEx_IsDark">IsDark</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the app is using a dark theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_SelectionBackgroundColor" data-uid="C1.WPF.ThemeEx.SelectionBackgroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.SelectionBackgroundColor.html#C1_WPF_ThemeEx_SelectionBackgroundColor">SelectionBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the selection background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ThemeEx_SelectionForegroundColor" data-uid="C1.WPF.ThemeEx.SelectionForegroundColor">
          <a class="xref" href="C1.WPF.ThemeEx.SelectionForegroundColor.html#C1_WPF_ThemeEx_SelectionForegroundColor">SelectionForegroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the selection foreground.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
