# GrapeCity.ActiveReports.Viewer.Win.ViewerShortcut

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Viewer_Win_ViewerShortcut" data-uid="GrapeCity.ActiveReports.Viewer.Win.ViewerShortcut" class="text-break">ViewerShortcut Class
</h1>
  <div class="markdown level0 summary"><p>Represents a keyboard shortcut that triggers a specific command within the viewer.</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">ViewerShortcut</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.html">GrapeCity.ActiveReports.Viewer.Win</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Win.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Viewer_Win_ViewerShortcut_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ViewerShortcut</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Viewer_Win_ViewerShortcut_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class encapsulates the information necessary to define a keyboard shortcut for a viewer command, including
the keys that must be pressed, the command to be executed, and whether the shortcut is currently enabled.
It is designed for internal use within the viewer to manage keyboard interactions efficiently.</p>
</div>
  <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="GrapeCity_ActiveReports_Viewer_Win_ViewerShortcut_Keys" data-uid="GrapeCity.ActiveReports.Viewer.Win.ViewerShortcut.Keys">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.ViewerShortcut.Keys.html#GrapeCity_ActiveReports_Viewer_Win_ViewerShortcut_Keys">Keys</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the keys that must be pressed to trigger the command.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Viewer_Win_ViewerShortcut_ViewerCommand" data-uid="GrapeCity.ActiveReports.Viewer.Win.ViewerShortcut.ViewerCommand">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.ViewerShortcut.ViewerCommand.html#GrapeCity_ActiveReports_Viewer_Win_ViewerShortcut_ViewerCommand">ViewerCommand</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the viewer command associated with the shortcut.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
