# C1.WinUI.Menu.C1MenuItem.HotKey

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WinUI_Menu_C1MenuItem_HotKey_" data-uid="C1.WinUI.Menu.C1MenuItem.HotKey*">HotKey Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WinUI_Menu_C1MenuItem_HotKey_" data-uid="C1.WinUI.Menu.C1MenuItem.HotKey*"></a>
<h4 id="C1_WinUI_Menu_C1MenuItem_HotKey" data-uid="C1.WinUI.Menu.C1MenuItem.HotKey">HotKey</h4>
<div class="markdown level1 summary"><p>Gets or sets the text of the hotkey that will call the command tied to the specified item.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string HotKey { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property HotKey As String</code></pre>
</div>
<h5 id="C1_WinUI_Menu_C1MenuItem_HotKey_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property does not associate the hotkey with the menu item; it simply adds text to the menu item. The application must handle the user's input to carry out the action.</p>
</div>
</div>
