# C1.GanttView.CalendarMappingCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_GanttView_CalendarMappingCollection" data-uid="C1.GanttView.CalendarMappingCollection" class="text-break">CalendarMappingCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a generic collection of mappings for properties of
<a class="xref" href="C1.Win.GanttView.BaseObject.html">BaseObject</a> derived objects to appropriate data fields.</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">CalendarMappingCollection</span></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_CalendarMappingCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CalendarMappingCollection : MappingCollectionBase&lt;CustomCalendar&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CalendarMappingCollection
    Inherits MappingCollectionBase(Of CustomCalendar)</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_GanttView_CalendarMappingCollection__ctor" data-uid="C1.GanttView.CalendarMappingCollection.#ctor">
          <a class="xref" href="C1.GanttView.CalendarMappingCollection.-ctor.html#C1_GanttView_CalendarMappingCollection__ctor">CalendarMappingCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.GanttView.CalendarMappingCollection.html">CalendarMappingCollection</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_CalendarMappingCollection_CalendarID" data-uid="C1.GanttView.CalendarMappingCollection.CalendarID">
          <a class="xref" href="C1.GanttView.CalendarMappingCollection.CalendarID.html#C1_GanttView_CalendarMappingCollection_CalendarID">CalendarID</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the BaseObject.ID
property of the <a class="xref" href="C1.Win.GanttView.CustomCalendar.html">CustomCalendar</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the BaseObject.ID property
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_CalendarMappingCollection_Data" data-uid="C1.GanttView.CalendarMappingCollection.Data">
          <a class="xref" href="C1.GanttView.CalendarMappingCollection.Data.html#C1_GanttView_CalendarMappingCollection_Data">Data</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the calendar data.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the calendar data
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_CalendarMappingCollection_Name" data-uid="C1.GanttView.CalendarMappingCollection.Name">
          <a class="xref" href="C1.GanttView.CalendarMappingCollection.Name.html#C1_GanttView_CalendarMappingCollection_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the <a class="xref" href="C1.Win.GanttView.CustomCalendar.Name.html#C1_Win_GanttView_CustomCalendar_Name">Name</a>
property of the <a class="xref" href="C1.Win.GanttView.CustomCalendar.html">CustomCalendar</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the <a class="xref" href="C1.Win.GanttView.CustomCalendar.Name.html#C1_Win_GanttView_CustomCalendar_Name">Name</a> property
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_CalendarMappingCollection_ReadObject_C1_Win_GanttView_CustomCalendar_System_Object_System_Boolean_" data-uid="C1.GanttView.CalendarMappingCollection.ReadObject(C1.Win.GanttView.CustomCalendar,System.Object,System.Boolean)">
          <a class="xref" href="C1.GanttView.CalendarMappingCollection.ReadObject.html#C1_GanttView_CalendarMappingCollection_ReadObject_C1_Win_GanttView_CustomCalendar_System_Object_System_Boolean_">ReadObject(CustomCalendar, object, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills CustomCalendar object with values from specified boundObject.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_CalendarMappingCollection_WriteObject_C1_Win_GanttView_CustomCalendar_System_Object_" data-uid="C1.GanttView.CalendarMappingCollection.WriteObject(C1.Win.GanttView.CustomCalendar,System.Object)">
          <a class="xref" href="C1.GanttView.CalendarMappingCollection.WriteObject.html#C1_GanttView_CalendarMappingCollection_WriteObject_C1_Win_GanttView_CustomCalendar_System_Object_">WriteObject(CustomCalendar, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills boundObject with values from specified CustomCalendar object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
