# GrapeCity.Viewer.Common.Model.TouchModeButtonVisibility

## Content

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




  <h1 id="GrapeCity_Viewer_Common_Model_TouchModeButtonVisibility" data-uid="GrapeCity.Viewer.Common.Model.TouchModeButtonVisibility" class="text-break">TouchModeButtonVisibility Enum
</h1>
  <div class="markdown level0 summary"><p>Defines the visibility states for the Touch Mode button within the viewer's toolbar.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Viewer.Common.Model.html">GrapeCity.Viewer.Common.Model</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Common.dll</h6>
  <h5 id="GrapeCity_Viewer_Common_Model_TouchModeButtonVisibility_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum TouchModeButtonVisibility</code></pre>
  </div>
  <h5 id="GrapeCity_Viewer_Common_Model_TouchModeButtonVisibility_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This enumeration allows the application to control the display of the Touch Mode button, enhancing the user interface for touch interactions when necessary.
The visibility can be set to always hide the button or to automatically display it based on the detection of a touch-enabled environment.</p>
</div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_TouchModeButtonVisibility_Auto">Auto</td>
        <td><p>The visibility of the Touch Mode button is determined automatically based on the end-user's environment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_TouchModeButtonVisibility_Hidden">Hidden</td>
        <td><p>The Touch Mode button is not displayed on the toolbar.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
