# C1.Web.Mvc.Fluent.GaugeBuilder-2

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_GaugeBuilder_2" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2" class="text-break">GaugeBuilder&lt;TControl, TBuilder&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.Gauge.html">Gauge</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ControlBuilder-2.html">ControlBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level5"><span class="xref">GaugeBuilder&lt;TControl, TBuilder&gt;</span></div>
      <div class="level6"><a class="xref" href="C1.Web.Mvc.Fluent.LinearGaugeBaseBuilder-2.html">LinearGaugeBaseBuilder&lt;TControl, TBuilder&gt;</a></div>
      <div class="level6"><a class="xref" href="C1.Web.Mvc.Fluent.RadialGaugeBuilder.html">RadialGaugeBuilder</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_GaugeBuilder_2_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class GaugeBuilder&lt;TControl, TBuilder&gt; : ControlBuilder&lt;TControl, TBuilder&gt;, IHtmlContent where TControl : Gauge where TBuilder : GaugeBuilder&lt;TControl, TBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class GaugeBuilder(Of TControl As Gauge, TBuilder As GaugeBuilder(Of TControl, TBuilder))
    Inherits ControlBuilder(Of TControl, TBuilder)
    Implements IHtmlContent</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TControl</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TBuilder</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_Fluent_GaugeBuilder_2__ctor__0_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.#ctor(`0)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.-ctor.html#C1_Web_Mvc_Fluent_GaugeBuilder_2__ctor__0_">GaugeBuilder(TControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.html">GaugeBuilder&lt;TControl, TBuilder&gt;</a> instance to configurate <code class="paramref">component</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</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_Fluent_GaugeBuilder_2_Face_System_Action_C1_Web_Mvc_Fluent_RangeBuilder__" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Face(System.Action{C1.Web.Mvc.Fluent.RangeBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Face.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Face_System_Action_C1_Web_Mvc_Fluent_RangeBuilder__">Face(Action&lt;RangeBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.Face.html#C1_Web_Mvc_Gauge_Face">Face</a>.
Sets the Range used to represent the gauge's overall geometry and appearance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_Format_System_String_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Format(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Format.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Format_System_String_">Format(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.Format.html#C1_Web_Mvc_Gauge_Format">Format</a>.
Sets the format string used for displaying the gauge values as text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_GetText_System_String_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.GetText(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.GetText.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_GetText_System_String_">GetText(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.GetText.html#C1_Web_Mvc_Gauge_GetText">GetText</a>.
Sets a callback that returns customized strings used to display gauge values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_HandleWheel_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.HandleWheel(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.HandleWheel.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_HandleWheel_System_Boolean_">HandleWheel(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.HandleWheel.html#C1_Web_Mvc_Gauge_HandleWheel">HandleWheel</a>.
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_Fluent_GaugeBuilder_2_HasShadow_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.HasShadow(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.HasShadow.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_HasShadow_System_Boolean_">HasShadow(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.HasShadow.html#C1_Web_Mvc_Gauge_HasShadow">HasShadow</a>.
Sets whether the gauge should display a shadow effect.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_IsAnimated_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.IsAnimated(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.IsAnimated.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_IsAnimated_System_Boolean_">IsAnimated(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.IsAnimated.html#C1_Web_Mvc_Gauge_IsAnimated">IsAnimated</a>.
Sets whether the gauge should animate value changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_IsReadOnly_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.IsReadOnly(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.IsReadOnly.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_IsReadOnly_System_Boolean_">IsReadOnly(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.IsReadOnly.html#C1_Web_Mvc_Gauge_IsReadOnly">IsReadOnly</a>.
Sets or whether the user can edit the value using the mouse and the keyboard.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_Max_System_Double_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Max(System.Double)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Max.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Max_System_Double_">Max(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Max property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_Min_System_Double_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Min(System.Double)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Min.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Min_System_Double_">Min(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Min property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_OnClientValueChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.OnClientValueChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.OnClientValueChanged.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_OnClientValueChanged_System_String_">OnClientValueChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.Gauge.OnClientValueChanged.html#C1_Web_Mvc_Gauge_OnClientValueChanged">OnClientValueChanged</a> client event.
Occurs when the value shown on the gauge changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_Origin_System_Nullable_System_Double__" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Origin(System.Nullable{System.Double})">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Origin.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Origin_System_Nullable_System_Double__">Origin(double?)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.Origin.html#C1_Web_Mvc_Gauge_Origin">Origin</a>.
Sets the starting point used for painting the range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_Pointer_System_Action_C1_Web_Mvc_Fluent_RangeBuilder__" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Pointer(System.Action{C1.Web.Mvc.Fluent.RangeBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Pointer.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Pointer_System_Action_C1_Web_Mvc_Fluent_RangeBuilder__">Pointer(Action&lt;RangeBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.Pointer.html#C1_Web_Mvc_Gauge_Pointer">Pointer</a>.
Sets the Range used to represent the gauge's current value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_Ranges_System_Action_C1_Web_Mvc_Fluent_ListItemFactory_C1_Web_Mvc_Range_C1_Web_Mvc_Fluent_RangeBuilder___" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Ranges(System.Action{C1.Web.Mvc.Fluent.ListItemFactory{C1.Web.Mvc.Range,C1.Web.Mvc.Fluent.RangeBuilder}})">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Ranges.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Ranges_System_Action_C1_Web_Mvc_Fluent_ListItemFactory_C1_Web_Mvc_Range_C1_Web_Mvc_Fluent_RangeBuilder___">Ranges(Action&lt;ListItemFactory&lt;Range, RangeBuilder&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Ranges.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_ShowRanges_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.ShowRanges(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.ShowRanges.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_ShowRanges_System_Boolean_">ShowRanges(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.ShowRanges.html#C1_Web_Mvc_Gauge_ShowRanges">ShowRanges</a>.
Sets whether the gauge should display the ranges contained in the ranges property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_ShowText_C1_Web_Mvc_ShowText_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.ShowText(C1.Web.Mvc.ShowText)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.ShowText.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_ShowText_C1_Web_Mvc_ShowText_">ShowText(ShowText)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.ShowText.html#C1_Web_Mvc_Gauge_ShowText">ShowText</a>.
Sets which values should be displayed as text in the gauge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_ShowTickText_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.ShowTickText(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.ShowTickText.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_ShowTickText_System_Boolean_">ShowTickText(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.ShowTickText.html#C1_Web_Mvc_Gauge_ShowTickText">ShowTickText</a>.
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_Fluent_GaugeBuilder_2_ShowTicks_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.ShowTicks(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.ShowTicks.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_ShowTicks_System_Boolean_">ShowTicks(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.ShowTicks.html#C1_Web_Mvc_Gauge_ShowTicks">ShowTicks</a>.
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_Fluent_GaugeBuilder_2_StackRanges_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.StackRanges(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.StackRanges.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_StackRanges_System_Boolean_">StackRanges(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.StackRanges.html#C1_Web_Mvc_Gauge_StackRanges">StackRanges</a>.
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_Fluent_GaugeBuilder_2_Step_System_Double_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Step(System.Double)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Step.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Step_System_Double_">Step(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.Step.html#C1_Web_Mvc_Gauge_Step">Step</a>.
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_Fluent_GaugeBuilder_2_Thickness_System_Double_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Thickness(System.Double)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Thickness.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Thickness_System_Double_">Thickness(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.Thickness.html#C1_Web_Mvc_Gauge_Thickness">Thickness</a>.
Sets the thickness of the gauge, on a scale between zero and one.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_ThumbSize_System_Double_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.ThumbSize(System.Double)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.ThumbSize.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_ThumbSize_System_Double_">ThumbSize(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.ThumbSize.html#C1_Web_Mvc_Gauge_ThumbSize">ThumbSize</a>.
Sets the size of the element that shows the gauge's current value, in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_TickSpacing_System_Nullable_System_Double__" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.TickSpacing(System.Nullable{System.Double})">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.TickSpacing.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_TickSpacing_System_Nullable_System_Double__">TickSpacing(double?)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Gauge.TickSpacing.html#C1_Web_Mvc_Gauge_TickSpacing">TickSpacing</a>.
Sets the spacing between tickmarks.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_GaugeBuilder_2_Value_System_Double_" data-uid="C1.Web.Mvc.Fluent.GaugeBuilder`2.Value(System.Double)">
          <a class="xref" href="C1.Web.Mvc.Fluent.GaugeBuilder-2.Value.html#C1_Web_Mvc_Fluent_GaugeBuilder_2_Value_System_Double_">Value(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Value property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
