# C1.WPF.Chart.Interaction.C1RangeSelector

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_Interaction_C1RangeSelector" data-uid="C1.WPF.Chart.Interaction.C1RangeSelector" class="text-break">C1RangeSelector Class
</h1>
  <div class="markdown level0 summary"><p>Represents a FlexChart 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"><span class="xref">C1RangeSelector</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.WPF.Chart.IChartLayer.html">IChartLayer</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Chart.Interaction.html">C1.WPF.Chart.Interaction</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexChart.4.6.2.dll</h6>
  <h5 id="C1_WPF_Chart_Interaction_C1RangeSelector_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1RangeSelector : C1RangeSlider, IChartLayer</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1RangeSelector
    Inherits C1RangeSlider
    Implements IChartLayer</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_Chart_Interaction_C1RangeSelector__ctor" data-uid="C1.WPF.Chart.Interaction.C1RangeSelector.#ctor">
          <a class="xref" href="C1.WPF.Chart.Interaction.C1RangeSelector.-ctor.html#C1_WPF_Chart_Interaction_C1RangeSelector__ctor">C1RangeSelector()</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of RangeSelector.</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_Chart_Interaction_C1RangeSelector_SelectedAreaBrushProperty" data-uid="C1.WPF.Chart.Interaction.C1RangeSelector.SelectedAreaBrushProperty">
          <a class="xref" href="C1.WPF.Chart.Interaction.C1RangeSelector.SelectedAreaBrushProperty.html">SelectedAreaBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SelectedAreaBrush 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_Chart_Interaction_C1RangeSelector_SelectedAreaBrush" data-uid="C1.WPF.Chart.Interaction.C1RangeSelector.SelectedAreaBrush">
          <a class="xref" href="C1.WPF.Chart.Interaction.C1RangeSelector.SelectedAreaBrush.html#C1_WPF_Chart_Interaction_C1RangeSelector_SelectedAreaBrush">SelectedAreaBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush of selected area.</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_Chart_Interaction_C1RangeSelector_PixelsToUnits_System_Double_" data-uid="C1.WPF.Chart.Interaction.C1RangeSelector.PixelsToUnits(System.Double)">
          <a class="xref" href="C1.WPF.Chart.Interaction.C1RangeSelector.PixelsToUnits.html#C1_WPF_Chart_Interaction_C1RangeSelector_PixelsToUnits_System_Double_">PixelsToUnits(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts pixels to it´s corresponding unit value in the range slider</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Interaction_C1RangeSelector_UpdateTrackLayout" data-uid="C1.WPF.Chart.Interaction.C1RangeSelector.UpdateTrackLayout">
          <a class="xref" href="C1.WPF.Chart.Interaction.C1RangeSelector.UpdateTrackLayout.html#C1_WPF_Chart_Interaction_C1RangeSelector_UpdateTrackLayout">UpdateTrackLayout()</a>
        </td>
        <td class="markdown level1 summary"><p>This method will take the current min, max, and value to
calculate and layout the current control measurements.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
