# C1.GanttView.PropertyStorage-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_GanttView_PropertyStorage_1" data-uid="C1.GanttView.PropertyStorage`1" class="text-break">PropertyStorage&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.GanttView.PropertyStorage-1.html">PropertyStorage&lt;T&gt;</a> is the storage
for some object properties.</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">PropertyStorage&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isite">ISite</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.GanttView.html">C1.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_GanttView_PropertyStorage_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ComplexBindingProperties(&quot;DataSource&quot;, &quot;DataMember&quot;)]
public class PropertyStorage&lt;T&gt; : C1BindingSource, ISite, IServiceProvider where T : IKeyName</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ComplexBindingProperties(&quot;DataSource&quot;, &quot;DataMember&quot;)&gt;
Public Class PropertyStorage(Of T As IKeyName)
    Inherits C1BindingSource
    Implements ISite, IServiceProvider</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_GanttView_PropertyStorage_1__ctor_C1_Schedule_StorageComponent_" data-uid="C1.GanttView.PropertyStorage`1.#ctor(C1.Schedule.StorageComponent)">
          <a class="xref" href="C1.GanttView.PropertyStorage-1.-ctor.html#C1_GanttView_PropertyStorage_1__ctor_C1_Schedule_StorageComponent_">PropertyStorage(StorageComponent)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.GanttView.PropertyStorage-1.html">PropertyStorage&lt;T&gt;</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="C1_GanttView_PropertyStorage_1_Key" data-uid="C1.GanttView.PropertyStorage`1.Key">
          <a class="xref" href="C1.GanttView.PropertyStorage-1.Key.html#C1_GanttView_PropertyStorage_1_Key">Key</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the property key.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the property key
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_PropertyStorage_1_Objects" data-uid="C1.GanttView.PropertyStorage`1.Objects">
          <a class="xref" href="C1.GanttView.PropertyStorage-1.Objects.html#C1_GanttView_PropertyStorage_1_Objects">Objects</a>
        </td>
        <td class="markdown level1 summary"><p>Objects array with properties to store.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_PropertyStorage_1_Value" data-uid="C1.GanttView.PropertyStorage`1.Value">
          <a class="xref" href="C1.GanttView.PropertyStorage-1.Value.html#C1_GanttView_PropertyStorage_1_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the property value.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the property value
to be bound to the appropriate field in the data source.</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_GanttView_PropertyStorage_1_OnListChanged_System_ComponentModel_ListChangedEventArgs_" data-uid="C1.GanttView.PropertyStorage`1.OnListChanged(System.ComponentModel.ListChangedEventArgs)">
          <a class="xref" href="C1.GanttView.PropertyStorage-1.OnListChanged.html#C1_GanttView_PropertyStorage_1_OnListChanged_System_ComponentModel_ListChangedEventArgs_">OnListChanged(ListChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the ListChanged event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
