# C1.WPF.Input.C1StopsSlider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Input_C1StopsSlider" data-uid="C1.WPF.Input.C1StopsSlider" class="text-break">C1StopsSlider Class
</h1>
  <div class="markdown level0 summary"><p>The stops-slider control enables the end-user to select multiple values by moving thumbs along a track as well as creating new ones by tapping or removing with Del key.</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">C1StopsSlider</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Input.html">C1.WPF.Input</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Input.dll</h6>
  <h5 id="C1_WPF_Input_C1StopsSlider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[StyleTypedProperty(Property = &quot;ValidationDecoratorStyle&quot;, StyleTargetType = typeof(C1ValidationDecorator))]
[TemplatePart(Name = &quot;TrackGrid&quot;, Type = typeof(Grid))]
[TemplatePart(Name = &quot;Track&quot;, Type = typeof(FrameworkElement))]
public class C1StopsSlider : C1View</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;StyleTypedProperty(Property:=&quot;ValidationDecoratorStyle&quot;, StyleTargetType:=GetType(C1ValidationDecorator))&gt;
&lt;TemplatePart(Name:=&quot;TrackGrid&quot;, Type:=GetType(Grid))&gt;
&lt;TemplatePart(Name:=&quot;Track&quot;, Type:=GetType(FrameworkElement))&gt;
Public Class C1StopsSlider
    Inherits C1View</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_Input_C1StopsSlider__ctor" data-uid="C1.WPF.Input.C1StopsSlider.#ctor">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.-ctor.html#C1_WPF_Input_C1StopsSlider__ctor">C1StopsSlider()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Input.C1StopsSlider.html">C1StopsSlider</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_Input_C1StopsSlider_AllowAddingProperty" data-uid="C1.WPF.Input.C1StopsSlider.AllowAddingProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.AllowAddingProperty.html">AllowAddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.AllowAdding.html#C1_WPF_Input_C1StopsSlider_AllowAdding">AllowAdding</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_AllowRemovingProperty" data-uid="C1.WPF.Input.C1StopsSlider.AllowRemovingProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.AllowRemovingProperty.html">AllowRemovingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.AllowRemoving.html#C1_WPF_Input_C1StopsSlider_AllowRemoving">AllowRemoving</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_MaximumProperty" data-uid="C1.WPF.Input.C1StopsSlider.MaximumProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.MaximumProperty.html">MaximumProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.Maximum.html#C1_WPF_Input_C1StopsSlider_Maximum">Maximum</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_MinimumProperty" data-uid="C1.WPF.Input.C1StopsSlider.MinimumProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.MinimumProperty.html">MinimumProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.Minimum.html#C1_WPF_Input_C1StopsSlider_Minimum">Minimum</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_SelectedIndexProperty" data-uid="C1.WPF.Input.C1StopsSlider.SelectedIndexProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.SelectedIndexProperty.html">SelectedIndexProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.SelectedIndex.html#C1_WPF_Input_C1StopsSlider_SelectedIndex">SelectedIndex</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_SelectedStopStyleProperty" data-uid="C1.WPF.Input.C1StopsSlider.SelectedStopStyleProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.SelectedStopStyleProperty.html">SelectedStopStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.SelectedStopStyle.html#C1_WPF_Input_C1StopsSlider_SelectedStopStyle">SelectedStopStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_StopStyleProperty" data-uid="C1.WPF.Input.C1StopsSlider.StopStyleProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.StopStyleProperty.html">StopStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.StopStyle.html#C1_WPF_Input_C1StopsSlider_StopStyle">StopStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_TrackStyleProperty" data-uid="C1.WPF.Input.C1StopsSlider.TrackStyleProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.TrackStyleProperty.html">TrackStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.TrackStyle.html#C1_WPF_Input_C1StopsSlider_TrackStyle">TrackStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_TrackVisibilityProperty" data-uid="C1.WPF.Input.C1StopsSlider.TrackVisibilityProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.TrackVisibilityProperty.html">TrackVisibilityProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.TrackVisibility.html#C1_WPF_Input_C1StopsSlider_TrackVisibility">TrackVisibility</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_ValidationDecoratorStyleProperty" data-uid="C1.WPF.Input.C1StopsSlider.ValidationDecoratorStyleProperty">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.ValidationDecoratorStyleProperty.html">ValidationDecoratorStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1StopsSlider.ValidationDecoratorStyle.html#C1_WPF_Input_C1StopsSlider_ValidationDecoratorStyle">ValidationDecoratorStyle</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_Input_C1StopsSlider_AllowAdding" data-uid="C1.WPF.Input.C1StopsSlider.AllowAdding">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.AllowAdding.html#C1_WPF_Input_C1StopsSlider_AllowAdding">AllowAdding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether new stops can be added by tapping the track.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_AllowRemoving" data-uid="C1.WPF.Input.C1StopsSlider.AllowRemoving">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.AllowRemoving.html#C1_WPF_Input_C1StopsSlider_AllowRemoving">AllowRemoving</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether new stops can be removed by pressing Del key.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_Maximum" data-uid="C1.WPF.Input.C1StopsSlider.Maximum">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.Maximum.html#C1_WPF_Input_C1StopsSlider_Maximum">Maximum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_Minimum" data-uid="C1.WPF.Input.C1StopsSlider.Minimum">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.Minimum.html#C1_WPF_Input_C1StopsSlider_Minimum">Minimum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_SelectedIndex" data-uid="C1.WPF.Input.C1StopsSlider.SelectedIndex">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.SelectedIndex.html#C1_WPF_Input_C1StopsSlider_SelectedIndex">SelectedIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the index of the selected stop.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_SelectedStopStyle" data-uid="C1.WPF.Input.C1StopsSlider.SelectedStopStyle">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.SelectedStopStyle.html#C1_WPF_Input_C1StopsSlider_SelectedStopStyle">SelectedStopStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the selected thumb.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_StopStyle" data-uid="C1.WPF.Input.C1StopsSlider.StopStyle">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.StopStyle.html#C1_WPF_Input_C1StopsSlider_StopStyle">StopStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the thumbs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_Stops" data-uid="C1.WPF.Input.C1StopsSlider.Stops">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.Stops.html#C1_WPF_Input_C1StopsSlider_Stops">Stops</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of stops in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_TrackStyle" data-uid="C1.WPF.Input.C1StopsSlider.TrackStyle">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.TrackStyle.html#C1_WPF_Input_C1StopsSlider_TrackStyle">TrackStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the track element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_TrackVisibility" data-uid="C1.WPF.Input.C1StopsSlider.TrackVisibility">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.TrackVisibility.html#C1_WPF_Input_C1StopsSlider_TrackVisibility">TrackVisibility</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the track bar should be displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_ValidationDecoratorStyle" data-uid="C1.WPF.Input.C1StopsSlider.ValidationDecoratorStyle">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.ValidationDecoratorStyle.html#C1_WPF_Input_C1StopsSlider_ValidationDecoratorStyle">ValidationDecoratorStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style that is applied to the inner <a class="xref" href="C1.WPF.Input.C1ValidationDecorator.html">C1ValidationDecorator</a>.</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_Input_C1StopsSlider_Dispose_System_Boolean_" data-uid="C1.WPF.Input.C1StopsSlider.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.Dispose.html#C1_WPF_Input_C1StopsSlider_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_OnApplyTemplate" data-uid="C1.WPF.Input.C1StopsSlider.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.OnApplyTemplate.html#C1_WPF_Input_C1StopsSlider_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_OnKeyDown_System_Windows_Input_KeyEventArgs_" data-uid="C1.WPF.Input.C1StopsSlider.OnKeyDown(System.Windows.Input.KeyEventArgs)">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.OnKeyDown.html#C1_WPF_Input_C1StopsSlider_OnKeyDown_System_Windows_Input_KeyEventArgs_">OnKeyDown(KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></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_Input_C1StopsSlider_SelectedIndexChanged" data-uid="C1.WPF.Input.C1StopsSlider.SelectedIndexChanged">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.SelectedIndexChanged.html">SelectedIndexChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <a class="xref" href="C1.WPF.Input.C1StopsSlider.SelectedIndex.html#C1_WPF_Input_C1StopsSlider_SelectedIndex">SelectedIndex</a> property has changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1StopsSlider_StopsChanged" data-uid="C1.WPF.Input.C1StopsSlider.StopsChanged">
          <a class="xref" href="C1.WPF.Input.C1StopsSlider.StopsChanged.html">StopsChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the collection of stops changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
