# FarPoint.Win.VisualStyleTheme

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_VisualStyleTheme" data-uid="FarPoint.Win.VisualStyleTheme" class="text-break">VisualStyleTheme Class
</h1>
  <div class="markdown level0 summary"><p>Represents a visual style (Windows XP theme) handle from uxtheme.dll.</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">VisualStyleTheme</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</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="FarPoint.Win.html">FarPoint.Win</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_VisualStyleTheme_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class VisualStyleTheme : IDisposable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class VisualStyleTheme
    Implements IDisposable, 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="FarPoint_Win_VisualStyleTheme__ctor_System_String_" data-uid="FarPoint.Win.VisualStyleTheme.#ctor(System.String)">
          <a class="xref" href="FarPoint.Win.VisualStyleTheme.-ctor.html#FarPoint_Win_VisualStyleTheme__ctor_System_String_">VisualStyleTheme(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new visual style (XP theme).</p>
</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="FarPoint_Win_VisualStyleTheme_ThemeChangedEventAddress" data-uid="FarPoint.Win.VisualStyleTheme.ThemeChangedEventAddress">
          <a class="xref" href="FarPoint.Win.VisualStyleTheme.ThemeChangedEventAddress.html">ThemeChangedEventAddress</a>
        </td>
        <td class="markdown level1 summary"><p>Inditity of event pipe that will be raised whenever a theme changes.</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="FarPoint_Win_VisualStyleTheme_ClassList" data-uid="FarPoint.Win.VisualStyleTheme.ClassList">
          <a class="xref" href="FarPoint.Win.VisualStyleTheme.ClassList.html#FarPoint_Win_VisualStyleTheme_ClassList">ClassList</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the class list for finding the visual style (XP theme) information.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_VisualStyleTheme_IsThemeActive" data-uid="FarPoint.Win.VisualStyleTheme.IsThemeActive">
          <a class="xref" href="FarPoint.Win.VisualStyleTheme.IsThemeActive.html#FarPoint_Win_VisualStyleTheme_IsThemeActive">IsThemeActive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether visual styles (XP themes) are active.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_VisualStyleTheme_hTheme" data-uid="FarPoint.Win.VisualStyleTheme.hTheme">
          <a class="xref" href="FarPoint.Win.VisualStyleTheme.hTheme.html#FarPoint_Win_VisualStyleTheme_hTheme">hTheme</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the visual style (XP theme) handle obtained from uxtheme.dll.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_VisualStyleTheme_ThemeChanged" data-uid="FarPoint.Win.VisualStyleTheme.ThemeChanged">
          <a class="xref" href="FarPoint.Win.VisualStyleTheme.ThemeChanged.html">ThemeChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Raises when system theme is changed</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
