# C1.WPF.Schedule.DecrementConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_DecrementConverter" data-uid="C1.WPF.Schedule.DecrementConverter" class="text-break">DecrementConverter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a Binding converter that keeps binding target = binding source - 1,
where source and target values are numeric.</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.Schedule.AddValueConverter.html">AddValueConverter</a></div>
    <div class="level2"><span class="xref">DecrementConverter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.data.ivalueconverter">IValueConverter</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Schedule.4.6.2.dll</h6>
  <h5 id="C1_WPF_Schedule_DecrementConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DecrementConverter : AddValueConverter, IValueConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DecrementConverter
    Inherits AddValueConverter
    Implements IValueConverter</code></pre>
  </div>
  <h5 id="C1_WPF_Schedule_DecrementConverter_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><pre><code>&lt;xref href=&quot;C1.WPF.Schedule.DecrementConverter&quot; data-throw-if-not-resolved=&quot;false&quot;&gt;&lt;/xref&gt; is a two-way converter. When converting in any 
</code></pre>
<p>direction, a source value must be of any numeric type, and a converted value is
of the System.Int32 type.</p>
</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_Schedule_DecrementConverter__ctor" data-uid="C1.WPF.Schedule.DecrementConverter.#ctor">
          <a class="xref" href="C1.WPF.Schedule.DecrementConverter.-ctor.html#C1_WPF_Schedule_DecrementConverter__ctor">DecrementConverter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Schedule.DecrementConverter.html">DecrementConverter</a>.</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_Schedule_DecrementConverter_Default" data-uid="C1.WPF.Schedule.DecrementConverter.Default">
          <a class="xref" href="C1.WPF.Schedule.DecrementConverter.Default.html">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an instance of <a class="xref" href="C1.WPF.Schedule.DecrementConverter.html">DecrementConverter</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
