# C1.WPF.C1ComboBox.KeyDownInPopup

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_WPF_C1ComboBox_KeyDownInPopup" data-uid="C1.WPF.C1ComboBox.KeyDownInPopup" class="text-break">KeyDownInPopup Event
</h1>
<div class="markdown level0 summary"><p>Handle this event to provide your own custom navigation when the popup is opened.
Receives the key that was pressed and the current index, and returns the new index that should be selected.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
<h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
<h5 id="C1_WPF_C1ComboBox_KeyDownInPopup_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event Func&lt;Key, int, int&gt; KeyDownInPopup</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event KeyDownInPopup As Func(Of Key, Integer, Integer)</code></pre>
</div>
<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.func-3">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.key">Key</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&gt;</td>
      <td>Handle this event to provide your own custom navigation when the popup is opened. Receives the key that was pressed and the current index, and returns the new index that should be selected.</td>
    </tr>
  </tbody>
</table>
</div>
