# C1.Win.Themes.StyledPropertyCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Themes_StyledPropertyCollection" data-uid="C1.Win.Themes.StyledPropertyCollection" class="text-break">StyledPropertyCollection Class
</h1>
  <div class="markdown level0 summary"><p>Closed collection of <span class="xref">C1.Win.Themes.StyledPropertyCollection.StyledProperty</span> objects.</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"><span class="xref">StyledPropertyCollection</span></div>
      <div class="level2"><a class="xref" href="C1.Win.Themes.BaseStyle.html">BaseStyle</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_StyledPropertyCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StyledPropertyCollection : INotifyPropertyChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class 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_StyledPropertyCollection__ctor" data-uid="C1.Win.Themes.StyledPropertyCollection.#ctor">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.-ctor.html#C1_Win_Themes_StyledPropertyCollection__ctor">StyledPropertyCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.html">StyledPropertyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection__ctor_C1_Win_Themes_StyledPropertyInfo___" data-uid="C1.Win.Themes.StyledPropertyCollection.#ctor(C1.Win.Themes.StyledPropertyInfo[])">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.-ctor.html#C1_Win_Themes_StyledPropertyCollection__ctor_C1_Win_Themes_StyledPropertyInfo___">StyledPropertyCollection(params StyledPropertyInfo[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.html">StyledPropertyCollection</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_StyledPropertyCollection_IsDisposed" data-uid="C1.Win.Themes.StyledPropertyCollection.IsDisposed">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.IsDisposed.html#C1_Win_Themes_StyledPropertyCollection_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the object has been disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_Name" data-uid="C1.Win.Themes.StyledPropertyCollection.Name">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.Name.html#C1_Win_Themes_StyledPropertyCollection_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_Owner" data-uid="C1.Win.Themes.StyledPropertyCollection.Owner">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.Owner.html#C1_Win_Themes_StyledPropertyCollection_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets collection owner.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_Parent" data-uid="C1.Win.Themes.StyledPropertyCollection.Parent">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.Parent.html#C1_Win_Themes_StyledPropertyCollection_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent collection. If some properties are reset or not initialized,
the collection will search for them from the parent.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_TopOwner" data-uid="C1.Win.Themes.StyledPropertyCollection.TopOwner">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.TopOwner.html#C1_Win_Themes_StyledPropertyCollection_TopOwner">TopOwner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets top owner of the collection.</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_StyledPropertyCollection_BeginUpdate" data-uid="C1.Win.Themes.StyledPropertyCollection.BeginUpdate">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.BeginUpdate.html#C1_Win_Themes_StyledPropertyCollection_BeginUpdate">BeginUpdate()</a>
        </td>
        <td class="markdown level1 summary"><p>Start editing the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_Dispose" data-uid="C1.Win.Themes.StyledPropertyCollection.Dispose">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.Dispose.html#C1_Win_Themes_StyledPropertyCollection_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Releases all unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_Dispose_System_Boolean_" data-uid="C1.Win.Themes.StyledPropertyCollection.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.Dispose.html#C1_Win_Themes_StyledPropertyCollection_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases all unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_EndUpdate" data-uid="C1.Win.Themes.StyledPropertyCollection.EndUpdate">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.EndUpdate.html#C1_Win_Themes_StyledPropertyCollection_EndUpdate">EndUpdate()</a>
        </td>
        <td class="markdown level1 summary"><p>Stop editing the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_GetPropertiesByType__1" data-uid="C1.Win.Themes.StyledPropertyCollection.GetPropertiesByType``1">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.GetPropertiesByType.html#C1_Win_Themes_StyledPropertyCollection_GetPropertiesByType__1">GetPropertiesByType&lt;T&gt;()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets value of the styled property with the specified type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_GetProperty_System_String_" data-uid="C1.Win.Themes.StyledPropertyCollection.GetProperty(System.String)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.GetProperty.html#C1_Win_Themes_StyledPropertyCollection_GetProperty_System_String_">GetProperty(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets value of the specified styled property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_HasProperty_System_String_" data-uid="C1.Win.Themes.StyledPropertyCollection.HasProperty(System.String)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.HasProperty.html#C1_Win_Themes_StyledPropertyCollection_HasProperty_System_String_">HasProperty(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the collection contains a property with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_IsInitialized_System_String_" data-uid="C1.Win.Themes.StyledPropertyCollection.IsInitialized(System.String)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.IsInitialized.html#C1_Win_Themes_StyledPropertyCollection_IsInitialized_System_String_">IsInitialized(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the a specified property is initialized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_OnGetUninitializedProperty_System_String_" data-uid="C1.Win.Themes.StyledPropertyCollection.OnGetUninitializedProperty(System.String)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.OnGetUninitializedProperty.html#C1_Win_Themes_StyledPropertyCollection_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_StyledPropertyCollection_OnOwnerChanged" data-uid="C1.Win.Themes.StyledPropertyCollection.OnOwnerChanged">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.OnOwnerChanged.html#C1_Win_Themes_StyledPropertyCollection_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_StyledPropertyCollection_OnPropertyChanged_System_Object_System_ComponentModel_PropertyChangedEventArgs_" data-uid="C1.Win.Themes.StyledPropertyCollection.OnPropertyChanged(System.Object,System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.OnPropertyChanged.html#C1_Win_Themes_StyledPropertyCollection_OnPropertyChanged_System_Object_System_ComponentModel_PropertyChangedEventArgs_">OnPropertyChanged(object, PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.PropertyChanged.html">PropertyChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_ResetProperty_System_String_" data-uid="C1.Win.Themes.StyledPropertyCollection.ResetProperty(System.String)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.ResetProperty.html#C1_Win_Themes_StyledPropertyCollection_ResetProperty_System_String_">ResetProperty(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Completely resets specified property (make it uninitialized, initialization required after that).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_SetProperty_System_Object_System_String_" data-uid="C1.Win.Themes.StyledPropertyCollection.SetProperty(System.Object,System.String)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.SetProperty.html#C1_Win_Themes_StyledPropertyCollection_SetProperty_System_Object_System_String_">SetProperty(object, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets value of the existing styled property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Themes_StyledPropertyCollection_TryGetProperty_System_Object__System_String_" data-uid="C1.Win.Themes.StyledPropertyCollection.TryGetProperty(System.Object@,System.String)">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.TryGetProperty.html#C1_Win_Themes_StyledPropertyCollection_TryGetProperty_System_Object__System_String_">TryGetProperty(out object, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to get value of the specified styled property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_StyledPropertyCollection_PropertyChanged" data-uid="C1.Win.Themes.StyledPropertyCollection.PropertyChanged">
          <a class="xref" href="C1.Win.Themes.StyledPropertyCollection.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when any properties change.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
