# C1.Web.Mvc.Gauge

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Gauge" data-uid="C1.Web.Mvc.Gauge" class="text-break">Gauge Class
</h1>
  <div class="markdown level0 summary"><p>Base Gauge control.</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"><a class="xref" href="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><span class="xref">Gauge</span></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.LinearGaugeBase.html">LinearGaugeBase</a></div>
      <div class="level4"><a class="xref" href="C1.Web.Mvc.RadialGauge.html">RadialGauge</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Gauge_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class Gauge : Control, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class Gauge
    Inherits Control
    Implements IHtmlContent, ITemplate</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Gauge__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.Gauge.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.Gauge.-ctor.html#C1_Web_Mvc_Gauge__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">Gauge(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Gauge.html">Gauge</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="C1_Web_Mvc_Gauge_Face" data-uid="C1.Web.Mvc.Gauge.Face">
          <a class="xref" href="C1.Web.Mvc.Gauge.Face.html#C1_Web_Mvc_Gauge_Face">Face</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Range used to represent the gauge's overall geometry and appearance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Format" data-uid="C1.Web.Mvc.Gauge.Format">
          <a class="xref" href="C1.Web.Mvc.Gauge.Format.html#C1_Web_Mvc_Gauge_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the format string used for displaying the gauge values as text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_GetText" data-uid="C1.Web.Mvc.Gauge.GetText">
          <a class="xref" href="C1.Web.Mvc.Gauge.GetText.html#C1_Web_Mvc_Gauge_GetText">GetText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a callback that returns customized strings used to display gauge values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_HandleWheel" data-uid="C1.Web.Mvc.Gauge.HandleWheel">
          <a class="xref" href="C1.Web.Mvc.Gauge.HandleWheel.html#C1_Web_Mvc_Gauge_HandleWheel">HandleWheel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the user can edit the gauge value using the mouse wheel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_HasShadow" data-uid="C1.Web.Mvc.Gauge.HasShadow">
          <a class="xref" href="C1.Web.Mvc.Gauge.HasShadow.html#C1_Web_Mvc_Gauge_HasShadow">HasShadow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the gauge should display a shadow effect.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_IsAnimated" data-uid="C1.Web.Mvc.Gauge.IsAnimated">
          <a class="xref" href="C1.Web.Mvc.Gauge.IsAnimated.html#C1_Web_Mvc_Gauge_IsAnimated">IsAnimated</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the gauge should animate value changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_IsReadOnly" data-uid="C1.Web.Mvc.Gauge.IsReadOnly">
          <a class="xref" href="C1.Web.Mvc.Gauge.IsReadOnly.html#C1_Web_Mvc_Gauge_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or whether the user can edit the value using the mouse and the keyboard.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Max" data-uid="C1.Web.Mvc.Gauge.Max">
          <a class="xref" href="C1.Web.Mvc.Gauge.Max.html#C1_Web_Mvc_Gauge_Max">Max</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value that can be displayed on the gauge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Min" data-uid="C1.Web.Mvc.Gauge.Min">
          <a class="xref" href="C1.Web.Mvc.Gauge.Min.html#C1_Web_Mvc_Gauge_Min">Min</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value that can be displayed on the gauge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_OnClientValueChanged" data-uid="C1.Web.Mvc.Gauge.OnClientValueChanged">
          <a class="xref" href="C1.Web.Mvc.Gauge.OnClientValueChanged.html#C1_Web_Mvc_Gauge_OnClientValueChanged">OnClientValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value shown on the gauge changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Origin" data-uid="C1.Web.Mvc.Gauge.Origin">
          <a class="xref" href="C1.Web.Mvc.Gauge.Origin.html#C1_Web_Mvc_Gauge_Origin">Origin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting point used for painting the range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Pointer" data-uid="C1.Web.Mvc.Gauge.Pointer">
          <a class="xref" href="C1.Web.Mvc.Gauge.Pointer.html#C1_Web_Mvc_Gauge_Pointer">Pointer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Range used to represent the gauge's current value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Ranges" data-uid="C1.Web.Mvc.Gauge.Ranges">
          <a class="xref" href="C1.Web.Mvc.Gauge.Ranges.html#C1_Web_Mvc_Gauge_Ranges">Ranges</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of ranges in this gauge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_ShowRanges" data-uid="C1.Web.Mvc.Gauge.ShowRanges">
          <a class="xref" href="C1.Web.Mvc.Gauge.ShowRanges.html#C1_Web_Mvc_Gauge_ShowRanges">ShowRanges</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the gauge should display the ranges contained in the ranges property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_ShowText" data-uid="C1.Web.Mvc.Gauge.ShowText">
          <a class="xref" href="C1.Web.Mvc.Gauge.ShowText.html#C1_Web_Mvc_Gauge_ShowText">ShowText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets which values should be displayed as text in the gauge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_ShowTickText" data-uid="C1.Web.Mvc.Gauge.ShowTickText">
          <a class="xref" href="C1.Web.Mvc.Gauge.ShowTickText.html#C1_Web_Mvc_Gauge_ShowTickText">ShowTickText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a property that determines whether the gauge should display the text value of each tick mark.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_ShowTicks" data-uid="C1.Web.Mvc.Gauge.ShowTicks">
          <a class="xref" href="C1.Web.Mvc.Gauge.ShowTicks.html#C1_Web_Mvc_Gauge_ShowTicks">ShowTicks</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a property that determines whether the gauge should display tick marks at each step value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_StackRanges" data-uid="C1.Web.Mvc.Gauge.StackRanges">
          <a class="xref" href="C1.Web.Mvc.Gauge.StackRanges.html#C1_Web_Mvc_Gauge_StackRanges">StackRanges</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the ranges contained in  the collection should be stacked within the gauge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Step" data-uid="C1.Web.Mvc.Gauge.Step">
          <a class="xref" href="C1.Web.Mvc.Gauge.Step.html#C1_Web_Mvc_Gauge_Step">Step</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount to add or subtract to the value property when the user presses the arrow keys.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Thickness" data-uid="C1.Web.Mvc.Gauge.Thickness">
          <a class="xref" href="C1.Web.Mvc.Gauge.Thickness.html#C1_Web_Mvc_Gauge_Thickness">Thickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the gauge, on a scale between zero and one.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_ThumbSize" data-uid="C1.Web.Mvc.Gauge.ThumbSize">
          <a class="xref" href="C1.Web.Mvc.Gauge.ThumbSize.html#C1_Web_Mvc_Gauge_ThumbSize">ThumbSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of the element that shows the gauge's current value, in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_TickSpacing" data-uid="C1.Web.Mvc.Gauge.TickSpacing">
          <a class="xref" href="C1.Web.Mvc.Gauge.TickSpacing.html#C1_Web_Mvc_Gauge_TickSpacing">TickSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the spacing between tickmarks.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Gauge_Value" data-uid="C1.Web.Mvc.Gauge.Value">
          <a class="xref" href="C1.Web.Mvc.Gauge.Value.html#C1_Web_Mvc_Gauge_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value displayed on the gauge.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
