# C1.Win.Themes.BaseStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Themes_BaseStyle" data-uid="C1.Win.Themes.BaseStyle" class="text-break">BaseStyle Class
</h1>
  <div class="markdown level0 summary"><p>Base style.</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"><a class="xref" href="C1.Win.Themes.StyledPropertyCollection.html">StyledPropertyCollection</a></div>
    <div class="level2"><span class="xref">BaseStyle</span></div>
      <div class="level3"><a class="xref" href="C1.Win.Themes.BaseC1FrameworkStyle.html">BaseC1FrameworkStyle</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Themes.html">C1.Win.Themes</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Themes_BaseStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class BaseStyle : StyledPropertyCollection, INotifyPropertyChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public MustInherit Class BaseStyle
    Inherits StyledPropertyCollection
    Implements INotifyPropertyChanged, IDisposable</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="C1_Win_Themes_BaseStyle__ctor" data-uid="C1.Win.Themes.BaseStyle.#ctor">
          <a class="xref" href="C1.Win.Themes.BaseStyle.-ctor.html#C1_Win_Themes_BaseStyle__ctor">BaseStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</a>.</p>
</td>
      </tr>
      <tr>
        <td 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[])">
          <a class="xref" href="C1.Win.Themes.BaseStyle.-ctor.html#C1_Win_Themes_BaseStyle__ctor_C1_Win_Themes_BaseThemeProvider_System_String_C1_Win_Themes_StyledPropertyInfo___">BaseStyle(BaseThemeProvider, string, params StyledPropertyInfo[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</a>.</p>
</td>
      </tr>
      <tr>
        <td 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[])">
          <a class="xref" href="C1.Win.Themes.BaseStyle.-ctor.html#C1_Win_Themes_BaseStyle__ctor_System_String_C1_Win_Themes_StyledPropertyInfo___">BaseStyle(string, params StyledPropertyInfo[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</a>.</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="C1_Win_Themes_BaseStyle_DefaultStyle" data-uid="C1.Win.Themes.BaseStyle.DefaultStyle">
          <a class="xref" href="C1.Win.Themes.BaseStyle.DefaultStyle.html#C1_Win_Themes_BaseStyle_DefaultStyle">DefaultStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a style that contains the default values for current style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_IsDefault" data-uid="C1.Win.Themes.BaseStyle.IsDefault">
          <a class="xref" href="C1.Win.Themes.BaseStyle.IsDefault.html#C1_Win_Themes_BaseStyle_IsDefault">IsDefault</a>
        </td>
        <td class="markdown level1 summary"><p>Gets value indicating whether the style is default.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_Root" data-uid="C1.Win.Themes.BaseStyle.Root">
          <a class="xref" href="C1.Win.Themes.BaseStyle.Root.html#C1_Win_Themes_BaseStyle_Root">Root</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the root directory in C1Theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_ThemeProvider" data-uid="C1.Win.Themes.BaseStyle.ThemeProvider">
          <a class="xref" href="C1.Win.Themes.BaseStyle.ThemeProvider.html#C1_Win_Themes_BaseStyle_ThemeProvider">ThemeProvider</a>
        </td>
        <td class="markdown level1 summary"><p>Gets theme provider of the current theme.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_ApplyTheme_System_Object_" data-uid="C1.Win.Themes.BaseStyle.ApplyTheme(System.Object)">
          <a class="xref" href="C1.Win.Themes.BaseStyle.ApplyTheme.html#C1_Win_Themes_BaseStyle_ApplyTheme_System_Object_">ApplyTheme(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies a new C1Theme to a style</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_Clone" data-uid="C1.Win.Themes.BaseStyle.Clone">
          <a class="xref" href="C1.Win.Themes.BaseStyle.Clone.html#C1_Win_Themes_BaseStyle_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of the <a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</a> class that is identical to the current <a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</a></p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_Copy_C1_Win_Themes_BaseStyle_" data-uid="C1.Win.Themes.BaseStyle.Copy(C1.Win.Themes.BaseStyle)">
          <a class="xref" href="C1.Win.Themes.BaseStyle.Copy.html#C1_Win_Themes_BaseStyle_Copy_C1_Win_Themes_BaseStyle_">Copy(BaseStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies properties of the specified style of the same type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_IsDefaultProperty_System_String_" data-uid="C1.Win.Themes.BaseStyle.IsDefaultProperty(System.String)">
          <a class="xref" href="C1.Win.Themes.BaseStyle.IsDefaultProperty.html#C1_Win_Themes_BaseStyle_IsDefaultProperty_System_String_">IsDefaultProperty(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns value indicating whether the specified property is default.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_OnGetUninitializedProperty_System_String_" data-uid="C1.Win.Themes.BaseStyle.OnGetUninitializedProperty(System.String)">
          <a class="xref" href="C1.Win.Themes.BaseStyle.OnGetUninitializedProperty.html#C1_Win_Themes_BaseStyle_OnGetUninitializedProperty_System_String_">OnGetUninitializedProperty(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when trying to get an initialized property value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_OnOwnerChanged" data-uid="C1.Win.Themes.BaseStyle.OnOwnerChanged">
          <a class="xref" href="C1.Win.Themes.BaseStyle.OnOwnerChanged.html#C1_Win_Themes_BaseStyle_OnOwnerChanged">OnOwnerChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when collection owner is changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_Reset" data-uid="C1.Win.Themes.BaseStyle.Reset">
          <a class="xref" href="C1.Win.Themes.BaseStyle.Reset.html#C1_Win_Themes_BaseStyle_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets style to it default value according to the applied theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_ResetProperty_System_String_" data-uid="C1.Win.Themes.BaseStyle.ResetProperty(System.String)">
          <a class="xref" href="C1.Win.Themes.BaseStyle.ResetProperty.html#C1_Win_Themes_BaseStyle_ResetProperty_System_String_">ResetProperty(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Reset specified property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_ResetProperty_System_String_System_Object_" data-uid="C1.Win.Themes.BaseStyle.ResetProperty(System.String,System.Object)">
          <a class="xref" href="C1.Win.Themes.BaseStyle.ResetProperty.html#C1_Win_Themes_BaseStyle_ResetProperty_System_String_System_Object_">ResetProperty(string, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Reset specified property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_BaseStyle_ToString" data-uid="C1.Win.Themes.BaseStyle.ToString">
          <a class="xref" href="C1.Win.Themes.BaseStyle.ToString.html#C1_Win_Themes_BaseStyle_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the string that represents the current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
