# GrapeCity.ActiveReports.SectionReportModel.StyleSheet

## Content

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



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet" class="text-break">StyleSheet Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for Styles.</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.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="GrapeCity.ActiveReports.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class StyleSheet : IList, ICollection, IEnumerable</code></pre>
  </div>
  <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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Count" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Count">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Count.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_IsFixedSize" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.IsFixedSize">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.IsFixedSize.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_IsReadOnly" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.IsReadOnly">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.IsReadOnly.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_IsSynchronized" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.IsSynchronized">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.IsSynchronized.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Item(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Item.html#GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the StyleSheet object at the specified indexed location in the StyleSheetCollection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Item_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Item(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Item.html#GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the StyleSheet object with the specified name in the StyleSheetCollection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_SyncRoot" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.SyncRoot">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.SyncRoot.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Add_DDCssLib_StyleSheetRule_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Add(DDCssLib.StyleSheetRule)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Add.html#GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Add_DDCssLib_StyleSheetRule_">Add(StyleSheetRule)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified Style object to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Add_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Add(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Add.html#GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new Style object with the specified name to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Add_System_String_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Add(System.String,System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Add.html#GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Add_System_String_System_String_">Add(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new Style object to the collection and sets its parent style to the specified parent Style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Clear" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Clear">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Clear.html#GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Contains_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Contains(System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Contains.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_CopyTo_System_Array_System_Int32_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.CopyTo(System.Array,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.CopyTo.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_GetEnumerator" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.GetEnumerator">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.GetEnumerator.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_IndexOf_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.IndexOf(System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.IndexOf.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Insert_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Insert(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Insert.html#GrapeCity_ActiveReports_SectionReportModel_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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Remove_System_Int32_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Remove(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Remove.html#GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Remove_System_Int32_">Remove(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the Style object at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Remove_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Remove(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Remove.html#GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the Style object with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_RemoveAt_System_Int32_" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.RemoveAt.html#GrapeCity_ActiveReports_SectionReportModel_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>
    </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="GrapeCity_ActiveReports_SectionReportModel_StyleSheet_Changed" data-uid="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Changed">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.StyleSheet.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the members of the StyleSheet have changed.</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>
