# C1.Win.Themes.C1ThemeController.SetThemeSettings

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Themes_C1ThemeController_SetThemeSettings_" data-uid="C1.Win.Themes.C1ThemeController.SetThemeSettings*">SetThemeSettings Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Themes_C1ThemeController_SetThemeSettings_" data-uid="C1.Win.Themes.C1ThemeController.SetThemeSettings*"></a>
<h4 id="C1_Win_Themes_C1ThemeController_SetThemeSettings_System_Object_C1_Win_Themes_C1ThemeSettings_" data-uid="C1.Win.Themes.C1ThemeController.SetThemeSettings(System.Object,C1.Win.Themes.C1ThemeSettings)">SetThemeSettings(object, C1ThemeSettings)</h4>
<div class="markdown level1 summary"><p>Sets a theme settings on an object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetThemeSettings(object control, C1ThemeSettings value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetThemeSettings(control As Object, value As C1ThemeSettings)</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">control</span></td>
      <td><p>The object on which to set the theme settings.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Themes.C1ThemeSettings.html">C1ThemeSettings</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The theme settings.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
