# C1.WPF.Gauge.GaugeDecorator

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Gauge_GaugeDecorator" data-uid="C1.WPF.Gauge.GaugeDecorator" class="text-break">GaugeDecorator Class
</h1>
  <div class="markdown level0 summary"><p>Base class for <a class="xref" href="C1.WPF.Gauge.C1Gauge.html">C1Gauge</a> decorators.</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">GaugeDecorator</span></div>
      <div class="level2"><a class="xref" href="C1.WPF.Gauge.GaugeIntervalDecorator.html">GaugeIntervalDecorator</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.Gauge.GaugePointer.html">GaugePointer</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.Gauge.GaugeRange.html">GaugeRange</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></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_GaugeDecorator_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class GaugeDecorator : DependencyObject, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class GaugeDecorator
    Inherits DependencyObject
    Implements INotifyPropertyChanged</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_GaugeDecorator__ctor" data-uid="C1.WPF.Gauge.GaugeDecorator.#ctor">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.-ctor.html#C1_WPF_Gauge_GaugeDecorator__ctor">GaugeDecorator()</a>
        </td>
        <td class="markdown level1 summary"></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_GaugeDecorator_AbsoluteLocationProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.AbsoluteLocationProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.AbsoluteLocationProperty.html">AbsoluteLocationProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.AbsoluteLocation.html#C1_WPF_Gauge_GaugeDecorator_AbsoluteLocation">AbsoluteLocation</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_AbsoluteThicknessProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.AbsoluteThicknessProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.AbsoluteThicknessProperty.html">AbsoluteThicknessProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.AbsoluteThickness.html#C1_WPF_Gauge_GaugeDecorator_AbsoluteThickness">AbsoluteThickness</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_AlignmentProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.AlignmentProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.AlignmentProperty.html">AlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.Alignment.html#C1_WPF_Gauge_GaugeDecorator_Alignment">Alignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_BorderBrushProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.BorderBrushProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderBrushProperty.html">BorderBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderBrush.html#C1_WPF_Gauge_GaugeDecorator_BorderBrush">BorderBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_BorderDashesProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.BorderDashesProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderDashesProperty.html">BorderDashesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderDashes.html#C1_WPF_Gauge_GaugeDecorator_BorderDashes">BorderDashes</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_BorderWidthProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.BorderWidthProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderWidthProperty.html">BorderWidthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderWidth.html#C1_WPF_Gauge_GaugeDecorator_BorderWidth">BorderWidth</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_BrushProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.BrushProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BrushProperty.html">BrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.Brush.html#C1_WPF_Gauge_GaugeDecorator_Brush">Brush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_DefaultColor" data-uid="C1.WPF.Gauge.GaugeDecorator.DefaultColor">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.DefaultColor.html">DefaultColor</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_FromProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.FromProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.FromProperty.html">FromProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.From.html#C1_WPF_Gauge_GaugeDecorator_From">From</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_LocationProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.LocationProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.LocationProperty.html">LocationProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.Location.html#C1_WPF_Gauge_GaugeDecorator_Location">Location</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_ThicknessProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.ThicknessProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.ThicknessProperty.html">ThicknessProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.Thickness.html#C1_WPF_Gauge_GaugeDecorator_Thickness">Thickness</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_ToProperty" data-uid="C1.WPF.Gauge.GaugeDecorator.ToProperty">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.ToProperty.html">ToProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.To.html#C1_WPF_Gauge_GaugeDecorator_To">To</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_GaugeDecorator_AbsoluteLocation" data-uid="C1.WPF.Gauge.GaugeDecorator.AbsoluteLocation">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.AbsoluteLocation.html#C1_WPF_Gauge_GaugeDecorator_AbsoluteLocation">AbsoluteLocation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a logical value representing the base axis of the decorator. In radial gauges the abolute zero is the center of the gauge whereas in linear is the bottom edge.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_AbsoluteThickness" data-uid="C1.WPF.Gauge.GaugeDecorator.AbsoluteThickness">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.AbsoluteThickness.html#C1_WPF_Gauge_GaugeDecorator_AbsoluteThickness">AbsoluteThickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of this decorator .</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_Alignment" data-uid="C1.WPF.Gauge.GaugeDecorator.Alignment">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.Alignment.html#C1_WPF_Gauge_GaugeDecorator_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how the decorator is aligned in respect to the axis determined by Location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_BorderBrush" data-uid="C1.WPF.Gauge.GaugeDecorator.BorderBrush">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderBrush.html#C1_WPF_Gauge_GaugeDecorator_BorderBrush">BorderBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to display the border of this decorator.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_BorderDashes" data-uid="C1.WPF.Gauge.GaugeDecorator.BorderDashes">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderDashes.html#C1_WPF_Gauge_GaugeDecorator_BorderDashes">BorderDashes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the dashes pattern used in the border of this decorator.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_BorderWidth" data-uid="C1.WPF.Gauge.GaugeDecorator.BorderWidth">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.BorderWidth.html#C1_WPF_Gauge_GaugeDecorator_BorderWidth">BorderWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border width of this decorator.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_Brush" data-uid="C1.WPF.Gauge.GaugeDecorator.Brush">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.Brush.html#C1_WPF_Gauge_GaugeDecorator_Brush">Brush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to display this decorator.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_From" data-uid="C1.WPF.Gauge.GaugeDecorator.From">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.From.html#C1_WPF_Gauge_GaugeDecorator_From">From</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value where the decorator starts. Set to double.NaN to bind to Gauge's minimum (default).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_Location" data-uid="C1.WPF.Gauge.GaugeDecorator.Location">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.Location.html#C1_WPF_Gauge_GaugeDecorator_Location">Location</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a logical value representing the base axis of the decorator, where 0 represents the inner edge in radial gauges and bottom edge in linear, and 1 represents the outer edge in radial and the top edge in linear.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_Thickness" data-uid="C1.WPF.Gauge.GaugeDecorator.Thickness">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.Thickness.html#C1_WPF_Gauge_GaugeDecorator_Thickness">Thickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of this decorator relative to the gauge's thickncess.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Gauge_GaugeDecorator_To" data-uid="C1.WPF.Gauge.GaugeDecorator.To">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.To.html#C1_WPF_Gauge_GaugeDecorator_To">To</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value where the decorator ends. Set to double.NaN to bind to Gauge's maximum (default).</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_GaugeDecorator_OnPropertyChanged_System_String_" data-uid="C1.WPF.Gauge.GaugeDecorator.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.OnPropertyChanged.html#C1_WPF_Gauge_GaugeDecorator_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when a property changed.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_GaugeDecorator_PropertyChanged" data-uid="C1.WPF.Gauge.GaugeDecorator.PropertyChanged">
          <a class="xref" href="C1.WPF.Gauge.GaugeDecorator.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
