# C1.Win.Themes.C1ThemeController.ThemeChanging

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Win_Themes_C1ThemeController_ThemeChanging" data-uid="C1.Win.Themes.C1ThemeController.ThemeChanging" class="text-break">ThemeChanging Event
</h1>
<div class="markdown level0 summary"><p>Occurs before a new value is assigned to the <a class="xref" href="C1.Win.Themes.C1ThemeController.Theme.html#C1_Win_Themes_C1ThemeController_Theme">Theme</a> property.</p>
</div>
<div class="markdown level0 conceptual"></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_C1ThemeController_ThemeChanging_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Description(&quot;C1ThemeController.ThemeChanging&quot;, &quot;Occurs before a new value is assigned to the Theme property.&quot;)]
public event ThemeEventHandler ThemeChanging</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;C1ThemeController.ThemeChanging&quot;, &quot;Occurs before a new value is assigned to the Theme property.&quot;)&gt;
Public Event ThemeChanging As ThemeEventHandler</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Win.Themes.ThemeEventHandler.html">ThemeEventHandler</a></td>
      <td>Occurs before a new value is assigned to the  property.</td>
    </tr>
  </tbody>
</table>
</div>
