# C1.WPF.Gauge.C1LinearGauge

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Gauge_C1LinearGauge" data-uid="C1.WPF.Gauge.C1LinearGauge" class="text-break">C1LinearGauge Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.html">C1LinearGauge</a> displays a linear scale with an indicator that represents a single value and optional ranges to represent reference values.</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.WPF.Gauge.C1Gauge.html">C1Gauge</a></div>
    <div class="level2"><span class="xref">C1LinearGauge</span></div>
      <div class="level3"><a class="xref" href="C1.WPF.Gauge.C1BulletGraph.html">C1BulletGraph</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IDependencyObject</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Gauge.html">C1.WPF.Gauge</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Gauge.dll</h6>
  <h5 id="C1_WPF_Gauge_C1LinearGauge_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1LinearGauge : C1Gauge, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1LinearGauge
    Inherits C1Gauge
    Implements IDependencyObject</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_WPF_Gauge_C1LinearGauge__ctor" data-uid="C1.WPF.Gauge.C1LinearGauge.#ctor">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.-ctor.html#C1_WPF_Gauge_C1LinearGauge__ctor">C1LinearGauge()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.html">C1LinearGauge</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DefaultLengthProperty" data-uid="C1.WPF.Gauge.C1LinearGauge.DefaultLengthProperty">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DefaultLengthProperty.html">DefaultLengthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DefaultLength.html#C1_WPF_Gauge_C1LinearGauge_DefaultLength">DefaultLength</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DefaultThicknessProperty" data-uid="C1.WPF.Gauge.C1LinearGauge.DefaultThicknessProperty">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DefaultThicknessProperty.html">DefaultThicknessProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DefaultThickness.html#C1_WPF_Gauge_C1LinearGauge_DefaultThickness">DefaultThickness</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DirectionProperty" data-uid="C1.WPF.Gauge.C1LinearGauge.DirectionProperty">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DirectionProperty.html">DirectionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.Direction.html#C1_WPF_Gauge_C1LinearGauge_Direction">Direction</a> dependency property.</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_WPF_Gauge_C1LinearGauge_DefaultLength" data-uid="C1.WPF.Gauge.C1LinearGauge.DefaultLength">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DefaultLength.html#C1_WPF_Gauge_C1LinearGauge_DefaultLength">DefaultLength</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default length (width when direction is horizontal, owtherwise height) of the gauge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DefaultThickness" data-uid="C1.WPF.Gauge.C1LinearGauge.DefaultThickness">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DefaultThickness.html#C1_WPF_Gauge_C1LinearGauge_DefaultThickness">DefaultThickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default thickness (height when direction is horizontal, owtherwise width) of the gauge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_Direction" data-uid="C1.WPF.Gauge.C1LinearGauge.Direction">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.Direction.html#C1_WPF_Gauge_C1LinearGauge_Direction">Direction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction in which the gauge is filled.</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_WPF_Gauge_C1LinearGauge_ArrangeOverride_System_Windows_Size_" data-uid="C1.WPF.Gauge.C1LinearGauge.ArrangeOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.ArrangeOverride.html#C1_WPF_Gauge_C1LinearGauge_ArrangeOverride_System_Windows_Size_">ArrangeOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_Dispose_System_Boolean_" data-uid="C1.WPF.Gauge.C1LinearGauge.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.Dispose.html#C1_WPF_Gauge_C1LinearGauge_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DrawLabel_C1_WPF_Gauge_GaugeLabel_" data-uid="C1.WPF.Gauge.C1LinearGauge.DrawLabel(C1.WPF.Gauge.GaugeLabel)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DrawLabel.html#C1_WPF_Gauge_C1LinearGauge_DrawLabel_C1_WPF_Gauge_GaugeLabel_">DrawLabel(GaugeLabel)</a>
        </td>
        <td class="markdown level1 summary"><p>Draw the specified labels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DrawMark_C1_WPF_Gauge_GaugeMark_" data-uid="C1.WPF.Gauge.C1LinearGauge.DrawMark(C1.WPF.Gauge.GaugeMark)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DrawMark.html#C1_WPF_Gauge_C1LinearGauge_DrawMark_C1_WPF_Gauge_GaugeMark_">DrawMark(GaugeMark)</a>
        </td>
        <td class="markdown level1 summary"><p>Draw the specified tick mark.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DrawMinMaxText" data-uid="C1.WPF.Gauge.C1LinearGauge.DrawMinMaxText">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DrawMinMaxText.html#C1_WPF_Gauge_C1LinearGauge_DrawMinMaxText">DrawMinMaxText()</a>
        </td>
        <td class="markdown level1 summary"><p>Draw the text of Min and Max.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DrawPointer_C1_WPF_Gauge_GaugePointer_System_Double_" data-uid="C1.WPF.Gauge.C1LinearGauge.DrawPointer(C1.WPF.Gauge.GaugePointer,System.Double)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DrawPointer.html#C1_WPF_Gauge_C1LinearGauge_DrawPointer_C1_WPF_Gauge_GaugePointer_System_Double_">DrawPointer(GaugePointer, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Draw the specified pointer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DrawRange_C1_WPF_Gauge_GaugeRange_System_Double_" data-uid="C1.WPF.Gauge.C1LinearGauge.DrawRange(C1.WPF.Gauge.GaugeRange,System.Double)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DrawRange.html#C1_WPF_Gauge_C1LinearGauge_DrawRange_C1_WPF_Gauge_GaugeRange_System_Double_">DrawRange(GaugeRange, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Draw a range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_DrawValueText_System_Double_" data-uid="C1.WPF.Gauge.C1LinearGauge.DrawValueText(System.Double)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.DrawValueText.html#C1_WPF_Gauge_C1LinearGauge_DrawValueText_System_Double_">DrawValueText(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Draw the text of Value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_GetRangeRect_C1_WPF_Gauge_GaugeRange_" data-uid="C1.WPF.Gauge.C1LinearGauge.GetRangeRect(C1.WPF.Gauge.GaugeRange)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.GetRangeRect.html#C1_WPF_Gauge_C1LinearGauge_GetRangeRect_C1_WPF_Gauge_GaugeRange_">GetRangeRect(GaugeRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Get the rectangle of gauge range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_GetRangeRect_C1_WPF_Gauge_GaugeRange_System_Double_" data-uid="C1.WPF.Gauge.C1LinearGauge.GetRangeRect(C1.WPF.Gauge.GaugeRange,System.Double)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.GetRangeRect.html#C1_WPF_Gauge_C1LinearGauge_GetRangeRect_C1_WPF_Gauge_GaugeRange_System_Double_">GetRangeRect(GaugeRange, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Get the rectangle of gauge range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_GetValueFromPoint_System_Windows_Point_" data-uid="C1.WPF.Gauge.C1LinearGauge.GetValueFromPoint(System.Windows.Point)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.GetValueFromPoint.html#C1_WPF_Gauge_C1LinearGauge_GetValueFromPoint_System_Windows_Point_">GetValueFromPoint(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Get gauge value from the point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_MeasureOverride_System_Windows_Size_" data-uid="C1.WPF.Gauge.C1LinearGauge.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.MeasureOverride.html#C1_WPF_Gauge_C1LinearGauge_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_C1LinearGauge_OnApplyTemplate" data-uid="C1.WPF.Gauge.C1LinearGauge.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Gauge.C1LinearGauge.OnApplyTemplate.html#C1_WPF_Gauge_C1LinearGauge_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
