# C1.WPF.BackgroundGradientSuppressor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_BackgroundGradientSuppressor" data-uid="C1.WPF.BackgroundGradientSuppressor" class="text-break">BackgroundGradientSuppressor Class
</h1>
  <div class="markdown level0 summary"><p>Hides the BackgroundGradient when the background is transparent or not a solid 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"><span class="xref">BackgroundGradientSuppressor</span></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_BackgroundGradientSuppressor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class BackgroundGradientSuppressor : DependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class BackgroundGradientSuppressor
    Inherits DependencyObject</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_BackgroundGradientSuppressor__ctor" data-uid="C1.WPF.BackgroundGradientSuppressor.#ctor">
          <a class="xref" href="C1.WPF.BackgroundGradientSuppressor.-ctor.html#C1_WPF_BackgroundGradientSuppressor__ctor">BackgroundGradientSuppressor()</a>
        </td>
        <td class="markdown level1 summary"></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_BackgroundGradientSuppressor_BackgroundProperty" data-uid="C1.WPF.BackgroundGradientSuppressor.BackgroundProperty">
          <a class="xref" href="C1.WPF.BackgroundGradientSuppressor.BackgroundProperty.html">BackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Background dependency property.</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_BackgroundGradientSuppressor_GetBackground_System_Windows_DependencyObject_" data-uid="C1.WPF.BackgroundGradientSuppressor.GetBackground(System.Windows.DependencyObject)">
          <a class="xref" href="C1.WPF.BackgroundGradientSuppressor.GetBackground.html#C1_WPF_BackgroundGradientSuppressor_GetBackground_System_Windows_DependencyObject_">GetBackground(DependencyObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the Background attached property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_BackgroundGradientSuppressor_SetBackground_System_Windows_DependencyObject_System_Windows_Media_Brush_" data-uid="C1.WPF.BackgroundGradientSuppressor.SetBackground(System.Windows.DependencyObject,System.Windows.Media.Brush)">
          <a class="xref" href="C1.WPF.BackgroundGradientSuppressor.SetBackground.html#C1_WPF_BackgroundGradientSuppressor_SetBackground_System_Windows_DependencyObject_System_Windows_Media_Brush_">SetBackground(DependencyObject, Brush)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the value of the Background attached property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
