# FarPoint.Win.FpButton.OnThemeChanged

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_FpButton_OnThemeChanged_" data-uid="FarPoint.Win.FpButton.OnThemeChanged*">OnThemeChanged Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_FpButton_OnThemeChanged_" data-uid="FarPoint.Win.FpButton.OnThemeChanged*"></a>
<h4 id="FarPoint_Win_FpButton_OnThemeChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Win.FpButton.OnThemeChanged(System.Object,System.EventArgs)">OnThemeChanged(object, EventArgs)</h4>
<div class="markdown level1 summary"><p>Handles the ThemeChanged event for the VisualStyleTheme</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Subscriber(&quot;{D09DACE8-68E3-4617-AD82-7A786195C4C0}&quot;)]
protected virtual void OnThemeChanged(object sender, EventArgs e)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Subscriber(&quot;{D09DACE8-68E3-4617-AD82-7A786195C4C0}&quot;)&gt;
Protected Overridable Sub OnThemeChanged(sender As Object, e As EventArgs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">sender</span></td>
      <td><p>object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></td>
      <td><span class="parametername">e</span></td>
      <td><p>EventArgs</p>
</td>
    </tr>
  </tbody>
</table>
</div>
