# C1.WPF.Extended.C1CheckeredBorder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Extended_C1CheckeredBorder" data-uid="C1.WPF.Extended.C1CheckeredBorder" class="text-break">C1CheckeredBorder Class
</h1>
  <div class="markdown level0 summary"><p>Border that display a color over a checkered pattern that is visible when a semi-transparent color is set,
allowing the user to distinguish easily between clear and transparent colors.</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"><span class="xref">C1CheckeredBorder</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_C1CheckeredBorder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Background&quot;, Type = typeof(Canvas))]
public class C1CheckeredBorder : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Background&quot;, Type:=GetType(Canvas))&gt;
Public Class C1CheckeredBorder
    Inherits Control
    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_C1CheckeredBorder__ctor" data-uid="C1.WPF.Extended.C1CheckeredBorder.#ctor">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.-ctor.html#C1_WPF_Extended_C1CheckeredBorder__ctor">C1CheckeredBorder()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.html">C1CheckeredBorder</a>.</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_Extended_C1CheckeredBorder_AlternatingSquareBrushProperty" data-uid="C1.WPF.Extended.C1CheckeredBorder.AlternatingSquareBrushProperty">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.AlternatingSquareBrushProperty.html">AlternatingSquareBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.AlternatingSquareBrush.html#C1_WPF_Extended_C1CheckeredBorder_AlternatingSquareBrush">AlternatingSquareBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1CheckeredBorder_CornerRadiusProperty" data-uid="C1.WPF.Extended.C1CheckeredBorder.CornerRadiusProperty">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.CornerRadiusProperty.html">CornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.CornerRadius.html#C1_WPF_Extended_C1CheckeredBorder_CornerRadius">CornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1CheckeredBorder_SquareBrushProperty" data-uid="C1.WPF.Extended.C1CheckeredBorder.SquareBrushProperty">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.SquareBrushProperty.html">SquareBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.SquareBrush.html#C1_WPF_Extended_C1CheckeredBorder_SquareBrush">SquareBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1CheckeredBorder_SquareWidthProperty" data-uid="C1.WPF.Extended.C1CheckeredBorder.SquareWidthProperty">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.SquareWidthProperty.html">SquareWidthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.SquareWidth.html#C1_WPF_Extended_C1CheckeredBorder_SquareWidth">SquareWidth</a> 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_Extended_C1CheckeredBorder_AlternatingSquareBrush" data-uid="C1.WPF.Extended.C1CheckeredBorder.AlternatingSquareBrush">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.AlternatingSquareBrush.html#C1_WPF_Extended_C1CheckeredBorder_AlternatingSquareBrush">AlternatingSquareBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to draw the alternating squares in background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1CheckeredBorder_CornerRadius" data-uid="C1.WPF.Extended.C1CheckeredBorder.CornerRadius">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.CornerRadius.html#C1_WPF_Extended_C1CheckeredBorder_CornerRadius">CornerRadius</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the radius of the corners.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1CheckeredBorder_SquareBrush" data-uid="C1.WPF.Extended.C1CheckeredBorder.SquareBrush">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.SquareBrush.html#C1_WPF_Extended_C1CheckeredBorder_SquareBrush">SquareBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to draw the squares in background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1CheckeredBorder_SquareWidth" data-uid="C1.WPF.Extended.C1CheckeredBorder.SquareWidth">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.SquareWidth.html#C1_WPF_Extended_C1CheckeredBorder_SquareWidth">SquareWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the squares in background.</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_C1CheckeredBorder_OnApplyTemplate" data-uid="C1.WPF.Extended.C1CheckeredBorder.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.OnApplyTemplate.html#C1_WPF_Extended_C1CheckeredBorder_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.html">C1CheckeredBorder</a> control when a new template is applied.</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_WPF_Extended_C1CheckeredBorder_AlternatingSquareBrushChanged" data-uid="C1.WPF.Extended.C1CheckeredBorder.AlternatingSquareBrushChanged">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.AlternatingSquareBrushChanged.html">AlternatingSquareBrushChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">AlternatingSquareBrush</span> property has changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1CheckeredBorder_SquareBrushChanged" data-uid="C1.WPF.Extended.C1CheckeredBorder.SquareBrushChanged">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.SquareBrushChanged.html">SquareBrushChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">SquareBrush</span> property has changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1CheckeredBorder_SquareWidthChanged" data-uid="C1.WPF.Extended.C1CheckeredBorder.SquareWidthChanged">
          <a class="xref" href="C1.WPF.Extended.C1CheckeredBorder.SquareWidthChanged.html">SquareWidthChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">SquareWidth</span> property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
