# C1.Win.Input.C1RangeSlider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_C1RangeSlider" data-uid="C1.Win.Input.C1RangeSlider" class="text-break">C1RangeSlider Class
</h1>
  <div class="markdown level0 summary"><p>Represents a Windows range slider control supporting additional visual styles.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="../C1.Win.10/C1.Framework.XViewLight.html">XViewLight</a></div>
    <div class="level5"><a class="xref" href="C1.Win.Input.Base.C1InputControl.html">C1InputControl</a></div>
    <div class="level6"><span class="xref">C1RangeSlider</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="../C1.Win.10/C1.Framework.IView.html">IView</a></div>
    <div><a class="xref" href="../C1.Win.10/C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="../C1.Win.10/C1.Win.Accessibility.Items.BaseInterfaces.IUiaTransformProvider.html">IUiaTransformProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Input.html">C1.Win.Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Input.10.dll</h6>
  <h5 id="C1_Win_Input_C1RangeSlider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(C1RangeSlider), &quot;C1RangeSlider.png&quot;)]
public class C1RangeSlider : C1InputControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IUiaTransformProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(C1RangeSlider), &quot;C1RangeSlider.png&quot;)&gt;
Public Class C1RangeSlider
    Inherits C1InputControl
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IUiaTransformProvider</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_Win_Input_C1RangeSlider__ctor" data-uid="C1.Win.Input.C1RangeSlider.#ctor">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.-ctor.html#C1_Win_Input_C1RangeSlider__ctor">C1RangeSlider()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Input.C1RangeSlider.html">C1RangeSlider</a> class.</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_Win_Input_C1RangeSlider_Command" data-uid="C1.Win.Input.C1RangeSlider.Command">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.Command.html#C1_Win_Input_C1RangeSlider_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.icommand">ICommand</a> whose <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.icommand.execute">Execute(object)</a>
method will be called when the <a class="xref" href="C1.Win.Input.C1RangeSlider.ValueChanged.html">ValueChanged</a> event gets invoked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_CommandParameter" data-uid="C1.Win.Input.C1RangeSlider.CommandParameter">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.CommandParameter.html#C1_Win_Input_C1RangeSlider_CommandParameter">CommandParameter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the parameter to pass to the <a class="xref" href="C1.Win.Input.C1RangeSlider.Command.html#C1_Win_Input_C1RangeSlider_Command">Command</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_DefaultSize" data-uid="C1.Win.Input.C1RangeSlider.DefaultSize">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.DefaultSize.html#C1_Win_Input_C1RangeSlider_DefaultSize">DefaultSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default size of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_IsDirectionReversed" data-uid="C1.Win.Input.C1RangeSlider.IsDirectionReversed">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.IsDirectionReversed.html#C1_Win_Input_C1RangeSlider_IsDirectionReversed">IsDirectionReversed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction of increasing value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_LargeChange" data-uid="C1.Win.Input.C1RangeSlider.LargeChange">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.LargeChange.html#C1_Win_Input_C1RangeSlider_LargeChange">LargeChange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value to be added to or subtracted from the LowerValue or UpperValue properties when the lower value thumb or upper value thumb is moved a large distance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_LowerThumbPath" data-uid="C1.Win.Input.C1RangeSlider.LowerThumbPath">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.LowerThumbPath.html#C1_Win_Input_C1RangeSlider_LowerThumbPath">LowerThumbPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets custom thumb path for lower value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_LowerValue" data-uid="C1.Win.Input.C1RangeSlider.LowerValue">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.LowerValue.html#C1_Win_Input_C1RangeSlider_LowerValue">LowerValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current lower magnitude of the range control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_Maximum" data-uid="C1.Win.Input.C1RangeSlider.Maximum">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.Maximum.html#C1_Win_Input_C1RangeSlider_Maximum">Maximum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum possible value of the range element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_Minimum" data-uid="C1.Win.Input.C1RangeSlider.Minimum">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.Minimum.html#C1_Win_Input_C1RangeSlider_Minimum">Minimum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum possible value of the range element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_Orientation" data-uid="C1.Win.Input.C1RangeSlider.Orientation">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.Orientation.html#C1_Win_Input_C1RangeSlider_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating the horizontal or vertical orientation of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_ScrollBehavior" data-uid="C1.Win.Input.C1RangeSlider.ScrollBehavior">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.ScrollBehavior.html#C1_Win_Input_C1RangeSlider_ScrollBehavior">ScrollBehavior</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating how thumbs will be moved when mouse click will be performed outside thumb area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_SmallChange" data-uid="C1.Win.Input.C1RangeSlider.SmallChange">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.SmallChange.html#C1_Win_Input_C1RangeSlider_SmallChange">SmallChange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value to be added to or subtracted from the LowerValue or UpperValue properties when the lower value thumb or upper value thumb is moved a small distance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_Styles" data-uid="C1.Win.Input.C1RangeSlider.Styles">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.Styles.html#C1_Win_Input_C1RangeSlider_Styles">Styles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.Input.C1RangeSlider.html">C1RangeSlider</a> styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_UpperThumbPath" data-uid="C1.Win.Input.C1RangeSlider.UpperThumbPath">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.UpperThumbPath.html#C1_Win_Input_C1RangeSlider_UpperThumbPath">UpperThumbPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets custom thumb path for upper value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_UpperValue" data-uid="C1.Win.Input.C1RangeSlider.UpperValue">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.UpperValue.html#C1_Win_Input_C1RangeSlider_UpperValue">UpperValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current upper magnitude of the range control.</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_Win_Input_C1RangeSlider_ApplyStyle" data-uid="C1.Win.Input.C1RangeSlider.ApplyStyle">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.ApplyStyle.html#C1_Win_Input_C1RangeSlider_ApplyStyle">ApplyStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the style to control view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_CreateUiaItem_C1_Win_Accessibility_UiaItem_" data-uid="C1.Win.Input.C1RangeSlider.CreateUiaItem(C1.Win.Accessibility.UiaItem)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.CreateUiaItem.html#C1_Win_Input_C1RangeSlider_CreateUiaItem_C1_Win_Accessibility_UiaItem_">CreateUiaItem(UiaItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates UI Automation object of this control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_Dispose_System_Boolean_" data-uid="C1.Win.Input.C1RangeSlider.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.Dispose.html#C1_Win_Input_C1RangeSlider_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the unmanaged resources used by the <a class="xref" href="C1.Win.Input.C1RangeSlider.html">C1RangeSlider</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnDirectionChanged_System_EventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnDirectionChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnDirectionChanged.html#C1_Win_Input_C1RangeSlider_OnDirectionChanged_System_EventArgs_">OnDirectionChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1RangeSlider.DirectionChanged.html">DirectionChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnGotFocus_System_EventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnGotFocus(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnGotFocus.html#C1_Win_Input_C1RangeSlider_OnGotFocus_System_EventArgs_">OnGotFocus(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.gotfocus">GotFocus</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnKeyDown_System_Windows_Forms_KeyEventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnKeyDown(System.Windows.Forms.KeyEventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnKeyDown.html#C1_Win_Input_C1RangeSlider_OnKeyDown_System_Windows_Forms_KeyEventArgs_">OnKeyDown(KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.keydown">KeyDown</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnLowerValueChanged_System_EventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnLowerValueChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnLowerValueChanged.html#C1_Win_Input_C1RangeSlider_OnLowerValueChanged_System_EventArgs_">OnLowerValueChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1RangeSlider.LowerValueChanged.html">LowerValueChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnMouseWheel_System_Windows_Forms_MouseEventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnMouseWheel(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnMouseWheel.html#C1_Win_Input_C1RangeSlider_OnMouseWheel_System_Windows_Forms_MouseEventArgs_">OnMouseWheel(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the System.Windows.Forms.Control.MouseWheel event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnOrientationChanged_System_EventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnOrientationChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnOrientationChanged.html#C1_Win_Input_C1RangeSlider_OnOrientationChanged_System_EventArgs_">OnOrientationChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1RangeSlider.OrientationChanged.html">OrientationChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnPreviewKeyDown_System_Windows_Forms_PreviewKeyDownEventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnPreviewKeyDown(System.Windows.Forms.PreviewKeyDownEventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnPreviewKeyDown.html#C1_Win_Input_C1RangeSlider_OnPreviewKeyDown_System_Windows_Forms_PreviewKeyDownEventArgs_">OnPreviewKeyDown(PreviewKeyDownEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.previewkeydown">PreviewKeyDown</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnUpperValueChanged_System_EventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnUpperValueChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnUpperValueChanged.html#C1_Win_Input_C1RangeSlider_OnUpperValueChanged_System_EventArgs_">OnUpperValueChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1RangeSlider.UpperValueChanged.html">UpperValueChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OnValueChanged_System_EventArgs_" data-uid="C1.Win.Input.C1RangeSlider.OnValueChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OnValueChanged.html#C1_Win_Input_C1RangeSlider_OnValueChanged_System_EventArgs_">OnValueChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1RangeSlider.ValueChanged.html">ValueChanged</a> event.</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_Win_Input_C1RangeSlider_DirectionChanged" data-uid="C1.Win.Input.C1RangeSlider.DirectionChanged">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.DirectionChanged.html">DirectionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="C1.Win.Input.C1RangeSlider.IsDirectionReversed.html#C1_Win_Input_C1RangeSlider_IsDirectionReversed">IsDirectionReversed</a> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_LowerValueChanged" data-uid="C1.Win.Input.C1RangeSlider.LowerValueChanged">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.LowerValueChanged.html">LowerValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="C1.Win.Input.C1RangeSlider.LowerValue.html#C1_Win_Input_C1RangeSlider_LowerValue">LowerValue</a> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_OrientationChanged" data-uid="C1.Win.Input.C1RangeSlider.OrientationChanged">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.OrientationChanged.html">OrientationChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="C1.Win.Input.C1RangeSlider.Orientation.html#C1_Win_Input_C1RangeSlider_Orientation">Orientation</a> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_UpperValueChanged" data-uid="C1.Win.Input.C1RangeSlider.UpperValueChanged">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.UpperValueChanged.html">UpperValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="C1.Win.Input.C1RangeSlider.UpperValue.html#C1_Win_Input_C1RangeSlider_UpperValue">UpperValue</a> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1RangeSlider_ValueChanged" data-uid="C1.Win.Input.C1RangeSlider.ValueChanged">
          <a class="xref" href="C1.Win.Input.C1RangeSlider.ValueChanged.html">ValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="C1.Win.Input.C1RangeSlider.LowerValue.html#C1_Win_Input_C1RangeSlider_LowerValue">LowerValue</a>or <a class="xref" href="C1.Win.Input.C1RangeSlider.UpperValue.html#C1_Win_Input_C1RangeSlider_UpperValue">UpperValue</a> properties changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
