# C1.Win.Command.C1Command.ShortcutText

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_C1Command_ShortcutText_" data-uid="C1.Win.Command.C1Command.ShortcutText*">ShortcutText Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_C1Command_ShortcutText_" data-uid="C1.Win.Command.C1Command.ShortcutText*"></a>
<h4 id="C1_Win_Command_C1Command_ShortcutText" data-uid="C1.Win.Command.C1Command.ShortcutText">ShortcutText</h4>
<div class="markdown level1 summary"><p>Gets or sets the shortcut text associated with the command.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Behavior&quot;)]
[C1Description(&quot;C1Command.ShortcutText&quot;, &quot;Gets or sets the shortcut text associated with the command.&quot;)]
public string ShortcutText { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Behavior&quot;)&gt;
&lt;C1Description(&quot;C1Command.ShortcutText&quot;, &quot;Gets or sets the shortcut text associated with the command.&quot;)&gt;
Public Property ShortcutText As String</code></pre>
</div>
<h5 id="C1_Win_Command_C1Command_ShortcutText_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>&gt;Use this property to localize shortcuts.</p>
<p>If <a class="xref" href="C1.Win.Command.C1Command.Shortcut.html#C1_Win_Command_C1Command_Shortcut">Shortcut</a> property is empty or <a class="xref" href="C1.Win.Command.C1Command.ShowShortcut.html#C1_Win_Command_C1Command_ShowShortcut">ShowShortcut</a> is False, then the <a class="xref" href="C1.Win.Command.C1Command.ShortcutText.html#C1_Win_Command_C1Command_ShortcutText">ShortcutText</a> has no any effect.</p>
<p>If <a class="xref" href="C1.Win.Command.C1Command.ShortcutText.html#C1_Win_Command_C1Command_ShortcutText">ShortcutText</a> property is empty, then default value is used for the shortcut.</p>
</div>
</div>
