# C1.WPF.Extended.C1ColorSlider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Extended_C1ColorSlider" data-uid="C1.WPF.Extended.C1ColorSlider" class="text-break">C1ColorSlider Class
</h1>
  <div class="markdown level0 summary"><p>Slider used to chose the hue of a color.</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.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.rangebase">RangeBase</a></div>
    <div class="level8"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.slider">Slider</a></div>
    <div class="level9"><span class="xref">C1ColorSlider</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Extended.html">C1.WPF.Extended</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Extended.4.6.2.dll</h6>
  <h5 id="C1_WPF_Extended_C1ColorSlider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;TopTrack&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;BottomTrack&quot;, Type = typeof(FrameworkElement))]
public class C1ColorSlider : Slider, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;TopTrack&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;BottomTrack&quot;, Type:=GetType(FrameworkElement))&gt;
Public Class C1ColorSlider
    Inherits Slider
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</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_Extended_C1ColorSlider__ctor" data-uid="C1.WPF.Extended.C1ColorSlider.#ctor">
          <a class="xref" href="C1.WPF.Extended.C1ColorSlider.-ctor.html#C1_WPF_Extended_C1ColorSlider__ctor">C1ColorSlider()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Extended.C1ColorSlider.html">C1ColorSlider</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_Extended_C1ColorSlider_OnApplyTemplate" data-uid="C1.WPF.Extended.C1ColorSlider.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Extended.C1ColorSlider.OnApplyTemplate.html#C1_WPF_Extended_C1ColorSlider_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.Extended.C1ColorSlider.html">C1ColorSlider</a> control when a new template is applied.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
