# DDCssLib.StyleSheet

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="DDCssLib_StyleSheet" data-uid="DDCssLib.StyleSheet" class="text-break">StyleSheet Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for StyleSheet.</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">StyleSheet</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href=""></a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="DDCssLib_StyleSheet_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StyleSheet : IDisposable, IList, ICollection, IEnumerable</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="DDCssLib_StyleSheet__ctor" data-uid="DDCssLib.StyleSheet.#ctor">
          <a class="xref" href="DDCssLib.StyleSheet.-ctor.html#DDCssLib_StyleSheet__ctor">StyleSheet()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="DDCssLib.StyleSheet.html">StyleSheet</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet__ctor_System_Boolean_" data-uid="DDCssLib.StyleSheet.#ctor(System.Boolean)">
          <a class="xref" href="DDCssLib.StyleSheet.-ctor.html#DDCssLib_StyleSheet__ctor_System_Boolean_">StyleSheet(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="DDCssLib.StyleSheet.html">StyleSheet</a> class.</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="DDCssLib_StyleSheet_Count" data-uid="DDCssLib.StyleSheet.Count">
          <a class="xref" href="DDCssLib.StyleSheet.Count.html#DDCssLib_StyleSheet_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of elements contained in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_IsFixedSize" data-uid="DDCssLib.StyleSheet.IsFixedSize">
          <a class="xref" href="DDCssLib.StyleSheet.IsFixedSize.html#DDCssLib_StyleSheet_IsFixedSize">IsFixedSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> has a fixed size.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_IsReadOnly" data-uid="DDCssLib.StyleSheet.IsReadOnly">
          <a class="xref" href="DDCssLib.StyleSheet.IsReadOnly.html#DDCssLib_StyleSheet_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> is read-only.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_IsSynchronized" data-uid="DDCssLib.StyleSheet.IsSynchronized">
          <a class="xref" href="DDCssLib.StyleSheet.IsSynchronized.html#DDCssLib_StyleSheet_IsSynchronized">IsSynchronized</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether access to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a> is synchronized (thread safe).</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Item_System_Int32_" data-uid="DDCssLib.StyleSheet.Item(System.Int32)">
          <a class="xref" href="DDCssLib.StyleSheet.Item.html#DDCssLib_StyleSheet_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_SyncRoot" data-uid="DDCssLib.StyleSheet.SyncRoot">
          <a class="xref" href="DDCssLib.StyleSheet.SyncRoot.html#DDCssLib_StyleSheet_SyncRoot">SyncRoot</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an object that can be used to synchronize access to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a>.</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="DDCssLib_StyleSheet_Add_System_Object_" data-uid="DDCssLib.StyleSheet.Add(System.Object)">
          <a class="xref" href="DDCssLib.StyleSheet.Add.html#DDCssLib_StyleSheet_Add_System_Object_">Add(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an item to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a>.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Add_System_String_System_String_" data-uid="DDCssLib.StyleSheet.Add(System.String,System.String)">
          <a class="xref" href="DDCssLib.StyleSheet.Add.html#DDCssLib_StyleSheet_Add_System_String_System_String_">Add(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a StyleSheetRule object from the specified information.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Add_System_String_System_String_System_String_" data-uid="DDCssLib.StyleSheet.Add(System.String,System.String,System.String)">
          <a class="xref" href="DDCssLib.StyleSheet.Add.html#DDCssLib_StyleSheet_Add_System_String_System_String_System_String_">Add(string, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a StyleSheetRule object from the specified information.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Clear" data-uid="DDCssLib.StyleSheet.Clear">
          <a class="xref" href="DDCssLib.StyleSheet.Clear.html#DDCssLib_StyleSheet_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all rules in this stylesheet.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Contains_System_Object_" data-uid="DDCssLib.StyleSheet.Contains(System.Object)">
          <a class="xref" href="DDCssLib.StyleSheet.Contains.html#DDCssLib_StyleSheet_Contains_System_Object_">Contains(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> contains a specific value.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_CopyTo_System_Array_System_Int32_" data-uid="DDCssLib.StyleSheet.CopyTo(System.Array,System.Int32)">
          <a class="xref" href="DDCssLib.StyleSheet.CopyTo.html#DDCssLib_StyleSheet_CopyTo_System_Array_System_Int32_">CopyTo(Array, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a> to an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.array">Array</a>, starting at a particular <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.array">Array</a> index.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Dispose" data-uid="DDCssLib.StyleSheet.Dispose">
          <a class="xref" href="DDCssLib.StyleSheet.Dispose.html#DDCssLib_StyleSheet_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Dispose_System_Boolean_" data-uid="DDCssLib.StyleSheet.Dispose(System.Boolean)">
          <a class="xref" href="DDCssLib.StyleSheet.Dispose.html#DDCssLib_StyleSheet_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_GetEnumerator" data-uid="DDCssLib.StyleSheet.GetEnumerator">
          <a class="xref" href="DDCssLib.StyleSheet.GetEnumerator.html#DDCssLib_StyleSheet_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an enumerator that iterates through a collection.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_GetRuleByClassName_System_String_" data-uid="DDCssLib.StyleSheet.GetRuleByClassName(System.String)">
          <a class="xref" href="DDCssLib.StyleSheet.GetRuleByClassName.html#DDCssLib_StyleSheet_GetRuleByClassName_System_String_">GetRuleByClassName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the rule with the specified class name.  If the rule is not in this stylesheet, Normal stylesheet will be returned as default</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_IndexOf_System_Object_" data-uid="DDCssLib.StyleSheet.IndexOf(System.Object)">
          <a class="xref" href="DDCssLib.StyleSheet.IndexOf.html#DDCssLib_StyleSheet_IndexOf_System_Object_">IndexOf(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of a specific item in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a>.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Insert_System_Int32_System_Object_" data-uid="DDCssLib.StyleSheet.Insert(System.Int32,System.Object)">
          <a class="xref" href="DDCssLib.StyleSheet.Insert.html#DDCssLib_StyleSheet_Insert_System_Int32_System_Object_">Insert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_Remove_System_Object_" data-uid="DDCssLib.StyleSheet.Remove(System.Object)">
          <a class="xref" href="DDCssLib.StyleSheet.Remove.html#DDCssLib_StyleSheet_Remove_System_Object_">Remove(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the first occurrence of a specific object from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a>.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_RemoveAt_System_Int32_" data-uid="DDCssLib.StyleSheet.RemoveAt(System.Int32)">
          <a class="xref" href="DDCssLib.StyleSheet.RemoveAt.html#DDCssLib_StyleSheet_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a> item at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="DDCssLib_StyleSheet_RemoveRule_System_String_" data-uid="DDCssLib.StyleSheet.RemoveRule(System.String)">
          <a class="xref" href="DDCssLib.StyleSheet.RemoveRule.html#DDCssLib_StyleSheet_RemoveRule_System_String_">RemoveRule(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the rule with the specified classname from this stylesheet.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
