# C1.WPF.Grid.GridDataMap

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridDataMap" data-uid="C1.WPF.Grid.GridDataMap" class="text-break">GridDataMap 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">GridDataMap</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_GridDataMap_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridDataMap : DependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridDataMap
    Inherits DependencyObject</code></pre>
  </div>
  <h5 id="C1_WPF_Grid_GridDataMap_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_WPF_Grid_GridDataMap__ctor" data-uid="C1.WPF.Grid.GridDataMap.#ctor">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.-ctor.html#C1_WPF_Grid_GridDataMap__ctor">GridDataMap()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Grid_GridDataMap_DisplayMemberPathProperty" data-uid="C1.WPF.Grid.GridDataMap.DisplayMemberPathProperty">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.DisplayMemberPathProperty.html">DisplayMemberPathProperty</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridDataMap_ItemsSourceProperty" data-uid="C1.WPF.Grid.GridDataMap.ItemsSourceProperty">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.ItemsSourceProperty.html">ItemsSourceProperty</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridDataMap_SelectedValuePathProperty" data-uid="C1.WPF.Grid.GridDataMap.SelectedValuePathProperty">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.SelectedValuePathProperty.html">SelectedValuePathProperty</a>
        </td>
        <td class="markdown level1 summary"></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_WPF_Grid_GridDataMap_DataCollection" data-uid="C1.WPF.Grid.GridDataMap.DataCollection">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.DataCollection.html#C1_WPF_Grid_GridDataMap_DataCollection">DataCollection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the inner data collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridDataMap_DisplayMemberPath" data-uid="C1.WPF.Grid.GridDataMap.DisplayMemberPath">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.DisplayMemberPath.html#C1_WPF_Grid_GridDataMap_DisplayMemberPath">DisplayMemberPath</a>
        </td>
        <td class="markdown level1 summary"><p>The name of the property to use as the visual representation of the items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridDataMap_ItemsSource" data-uid="C1.WPF.Grid.GridDataMap.ItemsSource">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.ItemsSource.html#C1_WPF_Grid_GridDataMap_ItemsSource">ItemsSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the collection of items to map.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridDataMap_SelectedValuePath" data-uid="C1.WPF.Grid.GridDataMap.SelectedValuePath">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.SelectedValuePath.html#C1_WPF_Grid_GridDataMap_SelectedValuePath">SelectedValuePath</a>
        </td>
        <td class="markdown level1 summary"><p>The name of the property that contains the keys (data values).</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_WPF_Grid_GridDataMap_GetDisplayValue_System_Object_" data-uid="C1.WPF.Grid.GridDataMap.GetDisplayValue(System.Object)">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.GetDisplayValue.html#C1_WPF_Grid_GridDataMap_GetDisplayValue_System_Object_">GetDisplayValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the display value corresponding to the specified selected value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridDataMap_GetKeyValue_System_Object_" data-uid="C1.WPF.Grid.GridDataMap.GetKeyValue(System.Object)">
          <a class="xref" href="C1.WPF.Grid.GridDataMap.GetKeyValue.html#C1_WPF_Grid_GridDataMap_GetKeyValue_System_Object_">GetKeyValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the key value corresponding to the specified display value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
