# C1.Web.Mvc.Fluent.DataMapBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_DataMapBuilder" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder" class="text-break">DataMapBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.DataMap.html">DataMap</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.DataMap.html">DataMap</a>, <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.html">DataMapBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">DataMapBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_DataMapBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DataMapBuilder : BaseBuilder&lt;DataMap, DataMapBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DataMapBuilder
    Inherits BaseBuilder(Of DataMap, DataMapBuilder)</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_Web_Mvc_Fluent_DataMapBuilder__ctor_C1_Web_Mvc_DataMap_" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.#ctor(C1.Web.Mvc.DataMap)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.-ctor.html#C1_Web_Mvc_Fluent_DataMapBuilder__ctor_C1_Web_Mvc_DataMap_">DataMapBuilder(DataMap)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.html">DataMapBuilder</a> instance to configurate <code class="paramref">obj</code>.</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_Web_Mvc_Fluent_DataMapBuilder_Bind_System_Action_C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_System_Object___" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.Bind(System.Action{C1.Web.Mvc.Fluent.CollectionViewServiceBuilder{System.Object}})">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.Bind.html#C1_Web_Mvc_Fluent_DataMapBuilder_Bind_System_Action_C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_System_Object___">Bind(Action&lt;CollectionViewServiceBuilder&lt;object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets ItemsSource by builder.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_Bind_System_Collections_Generic_IEnumerable_System_Object__" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.Bind(System.Collections.Generic.IEnumerable{System.Object})">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.Bind.html#C1_Web_Mvc_Fluent_DataMapBuilder_Bind_System_Collections_Generic_IEnumerable_System_Object__">Bind(IEnumerable&lt;object&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Bind to a collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_Bind_System_String_" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.Bind(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.Bind.html#C1_Web_Mvc_Fluent_DataMapBuilder_Bind_System_String_">Bind(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the read action url.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_BindODataSource_System_Action_C1_Web_Mvc_Fluent_ODataCollectionViewServiceBuilder_System_Object___" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.BindODataSource(System.Action{C1.Web.Mvc.Fluent.ODataCollectionViewServiceBuilder{System.Object}})">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.BindODataSource.html#C1_Web_Mvc_Fluent_DataMapBuilder_BindODataSource_System_Action_C1_Web_Mvc_Fluent_ODataCollectionViewServiceBuilder_System_Object___">BindODataSource(Action&lt;ODataCollectionViewServiceBuilder&lt;object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DataMap.ItemsSource.html#C1_Web_Mvc_DataMap_ItemsSource">ItemsSource</a>.
Sets ItemsSource settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_BindODataVirtualSource_System_Action_C1_Web_Mvc_Fluent_ODataVirtualCollectionViewServiceBuilder_System_Object___" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.BindODataVirtualSource(System.Action{C1.Web.Mvc.Fluent.ODataVirtualCollectionViewServiceBuilder{System.Object}})">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.BindODataVirtualSource.html#C1_Web_Mvc_Fluent_DataMapBuilder_BindODataVirtualSource_System_Action_C1_Web_Mvc_Fluent_ODataVirtualCollectionViewServiceBuilder_System_Object___">BindODataVirtualSource(Action&lt;ODataVirtualCollectionViewServiceBuilder&lt;object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DataMap.ItemsSource.html#C1_Web_Mvc_DataMap_ItemsSource">ItemsSource</a>.
Sets ItemsSource settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_DisplayMemberPath_System_String_" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.DisplayMemberPath(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.DisplayMemberPath.html#C1_Web_Mvc_Fluent_DataMapBuilder_DisplayMemberPath_System_String_">DisplayMemberPath(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DataMap.DisplayMemberPath.html#C1_Web_Mvc_DataMap_DisplayMemberPath">DisplayMemberPath</a>.
Sets the name of the property to use as the visual representation of the item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_IsEditable_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.IsEditable(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.IsEditable.html#C1_Web_Mvc_Fluent_DataMapBuilder_IsEditable_System_Boolean_">IsEditable(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DataMap.IsEditable.html#C1_Web_Mvc_DataMap_IsEditable">IsEditable</a>.
Sets a value that indicates whether users should be allowed to enter values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_OnClientMapChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.OnClientMapChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.OnClientMapChanged.html#C1_Web_Mvc_Fluent_DataMapBuilder_OnClientMapChanged_System_String_">OnClientMapChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.DataMap.OnClientMapChanged.html#C1_Web_Mvc_DataMap_OnClientMapChanged">OnClientMapChanged</a> client event.
Occurs when the map data changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_SelectedValuePath_System_String_" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.SelectedValuePath(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.SelectedValuePath.html#C1_Web_Mvc_Fluent_DataMapBuilder_SelectedValuePath_System_String_">SelectedValuePath(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DataMap.SelectedValuePath.html#C1_Web_Mvc_DataMap_SelectedValuePath">SelectedValuePath</a>.
Sets the name of the property to use as a key for the item (data value).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DataMapBuilder_SortByDisplayValues_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.DataMapBuilder.SortByDisplayValues(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DataMapBuilder.SortByDisplayValues.html#C1_Web_Mvc_Fluent_DataMapBuilder_SortByDisplayValues_System_Boolean_">SortByDisplayValues(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DataMap.SortByDisplayValues.html#C1_Web_Mvc_DataMap_SortByDisplayValues">SortByDisplayValues</a>.
Sets a value that determines whether to use mapped (display) or raw values when sorting the data. The default value is false.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
