# C1.WPF.Extended.C1HexColorBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Extended_C1HexColorBox" data-uid="C1.WPF.Extended.C1HexColorBox" class="text-break">C1HexColorBox Class
</h1>
  <div class="markdown level0 summary"><p>Text box that shows a color in its hexadecimal representation.</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">C1HexColorBox</span></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_C1HexColorBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1HexColorBox : C1TextBoxBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1HexColorBox
    Inherits C1TextBoxBase</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_C1HexColorBox__ctor" data-uid="C1.WPF.Extended.C1HexColorBox.#ctor">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.-ctor.html#C1_WPF_Extended_C1HexColorBox__ctor">C1HexColorBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Extended.C1HexColorBox.html">C1HexColorBox</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_C1HexColorBox_ColorProperty" data-uid="C1.WPF.Extended.C1HexColorBox.ColorProperty">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.ColorProperty.html">ColorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.C1HexColorBox.Color.html#C1_WPF_Extended_C1HexColorBox_Color">Color</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1HexColorBox_ShowAlphaChannelProperty" data-uid="C1.WPF.Extended.C1HexColorBox.ShowAlphaChannelProperty">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.ShowAlphaChannelProperty.html">ShowAlphaChannelProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.C1HexColorBox.ShowAlphaChannel.html#C1_WPF_Extended_C1HexColorBox_ShowAlphaChannel">ShowAlphaChannel</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1HexColorBox_ShowSharpPrefixProperty" data-uid="C1.WPF.Extended.C1HexColorBox.ShowSharpPrefixProperty">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.ShowSharpPrefixProperty.html">ShowSharpPrefixProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Extended.C1HexColorBox.ShowSharpPrefix.html#C1_WPF_Extended_C1HexColorBox_ShowSharpPrefix">ShowSharpPrefix</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_C1HexColorBox_Color" data-uid="C1.WPF.Extended.C1HexColorBox.Color">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.Color.html#C1_WPF_Extended_C1HexColorBox_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color whose hexadecimal representation is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1HexColorBox_CopyCommand" data-uid="C1.WPF.Extended.C1HexColorBox.CopyCommand">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.CopyCommand.html#C1_WPF_Extended_C1HexColorBox_CopyCommand">CopyCommand</a>
        </td>
        <td class="markdown level1 summary"><p>Copy command which is used for ContextMenu.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1HexColorBox_CutCommand" data-uid="C1.WPF.Extended.C1HexColorBox.CutCommand">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.CutCommand.html#C1_WPF_Extended_C1HexColorBox_CutCommand">CutCommand</a>
        </td>
        <td class="markdown level1 summary"><p>Cut command which is used for ContextMenu.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1HexColorBox_PasteCommand" data-uid="C1.WPF.Extended.C1HexColorBox.PasteCommand">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.PasteCommand.html#C1_WPF_Extended_C1HexColorBox_PasteCommand">PasteCommand</a>
        </td>
        <td class="markdown level1 summary"><p>Paste command which is used for ContextMenu.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1HexColorBox_ShowAlphaChannel" data-uid="C1.WPF.Extended.C1HexColorBox.ShowAlphaChannel">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.ShowAlphaChannel.html#C1_WPF_Extended_C1HexColorBox_ShowAlphaChannel">ShowAlphaChannel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the alpha channel must be shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_C1HexColorBox_ShowSharpPrefix" data-uid="C1.WPF.Extended.C1HexColorBox.ShowSharpPrefix">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.ShowSharpPrefix.html#C1_WPF_Extended_C1HexColorBox_ShowSharpPrefix">ShowSharpPrefix</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the sharp prefix must be shown.</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_C1HexColorBox_OnApplyTemplate" data-uid="C1.WPF.Extended.C1HexColorBox.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.OnApplyTemplate.html#C1_WPF_Extended_C1HexColorBox_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.Extended.C1HexColorBox.html">C1HexColorBox</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_C1HexColorBox_ColorChanged" data-uid="C1.WPF.Extended.C1HexColorBox.ColorChanged">
          <a class="xref" href="C1.WPF.Extended.C1HexColorBox.ColorChanged.html">ColorChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">Color</span> property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
