# GrapeCity.ActiveReports.Framework.Behaviors.BehaviorCollection

## Content

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



  <h1 id="GrapeCity_ActiveReports_Framework_Behaviors_BehaviorCollection" data-uid="GrapeCity.ActiveReports.Framework.Behaviors.BehaviorCollection" class="text-break">BehaviorCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of behaviors.</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="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a>&gt;</div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.observablecollection-1">ObservableCollection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a>&gt;</div>
    <div class="level3"><span class="xref">BehaviorCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a>&gt;</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.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.specialized.inotifycollectionchanged">INotifyCollectionChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.html">GrapeCity.ActiveReports.Framework.Behaviors</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Framework_Behaviors_BehaviorCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BehaviorCollection : ObservableCollection&lt;IBehavior&gt;, IList&lt;IBehavior&gt;, ICollection&lt;IBehavior&gt;, IList, ICollection, IReadOnlyList&lt;IBehavior&gt;, IReadOnlyCollection&lt;IBehavior&gt;, IEnumerable&lt;IBehavior&gt;, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IBehavior</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="GrapeCity_ActiveReports_Framework_Behaviors_BehaviorCollection__ctor" data-uid="GrapeCity.ActiveReports.Framework.Behaviors.BehaviorCollection.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.BehaviorCollection.-ctor.html#GrapeCity_ActiveReports_Framework_Behaviors_BehaviorCollection__ctor">BehaviorCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.BehaviorCollection.html">BehaviorCollection</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="GrapeCity_ActiveReports_Framework_Behaviors_BehaviorCollection_HostObject" data-uid="GrapeCity.ActiveReports.Framework.Behaviors.BehaviorCollection.HostObject">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.BehaviorCollection.HostObject.html#GrapeCity_ActiveReports_Framework_Behaviors_BehaviorCollection_HostObject">HostObject</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the object to which the behaviors are attached.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
