# C1.WPF.C1BrushBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1BrushBuilder" data-uid="C1.WPF.C1BrushBuilder" class="text-break">C1BrushBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Builds a Brush from an Input color a Design brush and a color base extrapolating the design brush.</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"><span class="xref">C1BrushBuilder</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1BrushBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1BrushBuilder : FrameworkElement, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1BrushBuilder
    Inherits FrameworkElement
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, INotifyPropertyChanged</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_C1BrushBuilder__ctor" data-uid="C1.WPF.C1BrushBuilder.#ctor">
          <a class="xref" href="C1.WPF.C1BrushBuilder.-ctor.html#C1_WPF_C1BrushBuilder__ctor">C1BrushBuilder()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1BrushBuilder.html">C1BrushBuilder</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_C1BrushBuilder_DesignBrushProperty" data-uid="C1.WPF.C1BrushBuilder.DesignBrushProperty">
          <a class="xref" href="C1.WPF.C1BrushBuilder.DesignBrushProperty.html">DesignBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Original Brush created by a designer, which is typically a degree of colors based in the design color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1BrushBuilder_DesignColorProperty" data-uid="C1.WPF.C1BrushBuilder.DesignColorProperty">
          <a class="xref" href="C1.WPF.C1BrushBuilder.DesignColorProperty.html">DesignColorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the base color for which the design has been created.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1BrushBuilder_InputProperty" data-uid="C1.WPF.C1BrushBuilder.InputProperty">
          <a class="xref" href="C1.WPF.C1BrushBuilder.InputProperty.html">InputProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the input which is the color to what the design brush will be extrapolated.</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_C1BrushBuilder_DesignBrush" data-uid="C1.WPF.C1BrushBuilder.DesignBrush">
          <a class="xref" href="C1.WPF.C1BrushBuilder.DesignBrush.html#C1_WPF_C1BrushBuilder_DesignBrush">DesignBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the design brush.
Original Brush created by a designer, which is typically a degree of colors based in the design color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1BrushBuilder_DesignColor" data-uid="C1.WPF.C1BrushBuilder.DesignColor">
          <a class="xref" href="C1.WPF.C1BrushBuilder.DesignColor.html#C1_WPF_C1BrushBuilder_DesignColor">DesignColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the base color for which the design has been created.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1BrushBuilder_ExtrapolationMethod" data-uid="C1.WPF.C1BrushBuilder.ExtrapolationMethod">
          <a class="xref" href="C1.WPF.C1BrushBuilder.ExtrapolationMethod.html#C1_WPF_C1BrushBuilder_ExtrapolationMethod">ExtrapolationMethod</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the extrapolation method.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1BrushBuilder_Input" data-uid="C1.WPF.C1BrushBuilder.Input">
          <a class="xref" href="C1.WPF.C1BrushBuilder.Input.html#C1_WPF_C1BrushBuilder_Input">Input</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the input which is the color to what the design brush will be extrapolated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1BrushBuilder_Output" data-uid="C1.WPF.C1BrushBuilder.Output">
          <a class="xref" href="C1.WPF.C1BrushBuilder.Output.html#C1_WPF_C1BrushBuilder_Output">Output</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the resulting brush of the extrapolation the design brush to the input color.</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_C1BrushBuilder_OnInitialized_System_EventArgs_" data-uid="C1.WPF.C1BrushBuilder.OnInitialized(System.EventArgs)">
          <a class="xref" href="C1.WPF.C1BrushBuilder.OnInitialized.html#C1_WPF_C1BrushBuilder_OnInitialized_System_EventArgs_">OnInitialized(EventArgs)</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_C1BrushBuilder_PropertyChanged" data-uid="C1.WPF.C1BrushBuilder.PropertyChanged">
          <a class="xref" href="C1.WPF.C1BrushBuilder.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.WPF.Extensions.FindParent.html#C1_WPF_Extensions_FindParent__1_System_Windows_FrameworkElement_">Extensions.FindParent&lt;T&gt;(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetAllParents.html#C1_WPF_Extensions_GetAllParents_System_Windows_FrameworkElement_">Extensions.GetAllParents(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetVisualStateGroup.html#C1_WPF_Extensions_GetVisualStateGroup_System_Windows_FrameworkElement_System_String_">Extensions.GetVisualStateGroup(FrameworkElement, string)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___System_Windows_Data_IValueConverter_">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;, IValueConverter)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.C1TransformToVisual.html#C1_WPF_Extensions_C1TransformToVisual_System_Windows_UIElement_System_Windows_UIElement_">Extensions.C1TransformToVisual(UIElement, UIElement)</a>
  </div>

</div>
