# C1.Win.Themes.BaseStyle.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Themes_BaseStyle__ctor_" data-uid="C1.Win.Themes.BaseStyle.#ctor*">BaseStyle Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Themes_BaseStyle__ctor_" data-uid="C1.Win.Themes.BaseStyle.#ctor*"></a>
<h4 id="C1_Win_Themes_BaseStyle__ctor_C1_Win_Themes_BaseThemeProvider_System_String_C1_Win_Themes_StyledPropertyInfo___" data-uid="C1.Win.Themes.BaseStyle.#ctor(C1.Win.Themes.BaseThemeProvider,System.String,C1.Win.Themes.StyledPropertyInfo[])">BaseStyle(BaseThemeProvider, string, params StyledPropertyInfo[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected BaseStyle(BaseThemeProvider provider, string name = null, params StyledPropertyInfo[] props)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(provider As BaseThemeProvider, Optional name As String = Nothing, ParamArray props As StyledPropertyInfo())</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="C1.Win.Themes.BaseThemeProvider.html">BaseThemeProvider</a></td>
      <td><span class="parametername">provider</span></td>
      <td><p>Theme provider.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Style name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Themes.StyledPropertyInfo.html">StyledPropertyInfo</a>[]</td>
      <td><span class="parametername">props</span></td>
      <td><p>Styled properties.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Themes_BaseStyle__ctor_" data-uid="C1.Win.Themes.BaseStyle.#ctor*"></a>
<h4 id="C1_Win_Themes_BaseStyle__ctor_System_String_C1_Win_Themes_StyledPropertyInfo___" data-uid="C1.Win.Themes.BaseStyle.#ctor(System.String,C1.Win.Themes.StyledPropertyInfo[])">BaseStyle(string, params StyledPropertyInfo[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected BaseStyle(string name, params StyledPropertyInfo[] props)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(name As String, ParamArray props As StyledPropertyInfo())</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Style name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Themes.StyledPropertyInfo.html">StyledPropertyInfo</a>[]</td>
      <td><span class="parametername">props</span></td>
      <td><p>Styled properties.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Themes_BaseStyle__ctor_" data-uid="C1.Win.Themes.BaseStyle.#ctor*"></a>
<h4 id="C1_Win_Themes_BaseStyle__ctor" data-uid="C1.Win.Themes.BaseStyle.#ctor">BaseStyle()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected BaseStyle()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New()</code></pre>
</div>
<h5 id="C1_Win_Themes_BaseStyle__ctor_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Styled properties will be initialized automatically.</p>
</div>
</div>
