# C1.Web.Mvc.DataMap

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_DataMap" data-uid="C1.Web.Mvc.DataMap" class="text-break">DataMap Class
</h1>
  <div class="markdown level0 summary"><p>Represents a data map for use with the column's DataMap property.</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">DataMap</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_DataMap_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DataMap</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DataMap</code></pre>
  </div>
  <h5 id="C1_Web_Mvc_DataMap_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Data maps provide the grid with automatic look up capabilities. For example, you may want to display a customer name instead of his ID, or a color name instead of its RGB value.</p>
</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_DataMap__ctor" data-uid="C1.Web.Mvc.DataMap.#ctor">
          <a class="xref" href="C1.Web.Mvc.DataMap.-ctor.html#C1_Web_Mvc_DataMap__ctor">DataMap()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.DataMap.html">DataMap</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_DataMap__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_" data-uid="C1.Web.Mvc.DataMap.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper)">
          <a class="xref" href="C1.Web.Mvc.DataMap.-ctor.html#C1_Web_Mvc_DataMap__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_">DataMap(IHtmlHelper)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.DataMap.html">DataMap</a> instance.</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_Web_Mvc_DataMap_DisplayMemberPath" data-uid="C1.Web.Mvc.DataMap.DisplayMemberPath">
          <a class="xref" href="C1.Web.Mvc.DataMap.DisplayMemberPath.html#C1_Web_Mvc_DataMap_DisplayMemberPath">DisplayMemberPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property to use as the visual representation of the item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_DataMap_IsEditable" data-uid="C1.Web.Mvc.DataMap.IsEditable">
          <a class="xref" href="C1.Web.Mvc.DataMap.IsEditable.html#C1_Web_Mvc_DataMap_IsEditable">IsEditable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether users should be allowed to enter values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_DataMap_ItemsSource" data-uid="C1.Web.Mvc.DataMap.ItemsSource">
          <a class="xref" href="C1.Web.Mvc.DataMap.ItemsSource.html#C1_Web_Mvc_DataMap_ItemsSource">ItemsSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ItemsSource settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_DataMap_OnClientMapChanged" data-uid="C1.Web.Mvc.DataMap.OnClientMapChanged">
          <a class="xref" href="C1.Web.Mvc.DataMap.OnClientMapChanged.html#C1_Web_Mvc_DataMap_OnClientMapChanged">OnClientMapChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the map data changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_DataMap_SelectedValuePath" data-uid="C1.Web.Mvc.DataMap.SelectedValuePath">
          <a class="xref" href="C1.Web.Mvc.DataMap.SelectedValuePath.html#C1_Web_Mvc_DataMap_SelectedValuePath">SelectedValuePath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or 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_DataMap_SortByDisplayValues" data-uid="C1.Web.Mvc.DataMap.SortByDisplayValues">
          <a class="xref" href="C1.Web.Mvc.DataMap.SortByDisplayValues.html#C1_Web_Mvc_DataMap_SortByDisplayValues">SortByDisplayValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or 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>
