# C1.Win.FlexGrid.IC1MultiColumnDictionary.GetDisplayValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_IC1MultiColumnDictionary_GetDisplayValue_" data-uid="C1.Win.FlexGrid.IC1MultiColumnDictionary.GetDisplayValue*">GetDisplayValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_IC1MultiColumnDictionary_GetDisplayValue_" data-uid="C1.Win.FlexGrid.IC1MultiColumnDictionary.GetDisplayValue*"></a>
<h4 id="C1_Win_FlexGrid_IC1MultiColumnDictionary_GetDisplayValue_System_Object_" data-uid="C1.Win.FlexGrid.IC1MultiColumnDictionary.GetDisplayValue(System.Object)">GetDisplayValue(object)</h4>
<div class="markdown level1 summary"><p>Gets the string that should be displayed in the grid while not in edit mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string GetDisplayValue(object key)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function GetDisplayValue(key As Object) As String</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>Value to look up in the dictionary.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>The string that should be displayed in the grid while not in edit mode.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_FlexGrid_IC1MultiColumnDictionary_GetDisplayValue_System_Object__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When the <a class="xref" href="C1.Win.FlexGrid.IC1MultiColumnDictionary.html">IC1MultiColumnDictionary</a> is used to populate a ComboBox,
all columns are displayed when the combo is dropped down.
When the combo is closed, only one column can be displayed.
This method returns that value.</p>
</div>
</div>
