# C1.WPF.InputPanel.C1InputBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_InputPanel_C1InputBase" data-uid="C1.WPF.InputPanel.C1InputBase" class="text-break">C1InputBase Class
</h1>
  <div class="markdown level0 summary"><p>Displays and edits the data in <a class="xref" href="C1.WPF.InputPanel.C1InputPanel.html">C1InputPanel</a>.</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.contentcontrol">ContentControl</a></div>
    <div class="level8"><span class="xref">C1InputBase</span></div>
      <div class="level9"><a class="xref" href="C1.WPF.InputPanel.C1InputCheckBox.html">C1InputCheckBox</a></div>
      <div class="level9"><a class="xref" href="C1.WPF.InputPanel.C1InputComboBox.html">C1InputComboBox</a></div>
      <div class="level9"><a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.html">C1InputDateTimePicker</a></div>
      <div class="level9"><a class="xref" href="C1.WPF.InputPanel.C1InputMaskedTextBox.html">C1InputMaskedTextBox</a></div>
      <div class="level9"><a class="xref" href="C1.WPF.InputPanel.C1InputNumericBox.html">C1InputNumericBox</a></div>
      <div class="level9"><a class="xref" href="C1.WPF.InputPanel.C1InputTextBox.html">C1InputTextBox</a></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.windows.markup.iaddchild">IAddChild</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.InputPanel.html">C1.WPF.InputPanel</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.InputPanel.4.6.2.dll</h6>
  <h5 id="C1_WPF_InputPanel_C1InputBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Header&quot;, Type = typeof(FrameworkElement))]
[TemplateVisualState(Name = &quot;ReadOnlyState&quot;, GroupName = &quot;ReadOnlyStatesStates&quot;)]
[TemplateVisualState(Name = &quot;EditableState&quot;, GroupName = &quot;ReadOnlyStatesStates&quot;)]
public class C1InputBase : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Header&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplateVisualState(Name:=&quot;ReadOnlyState&quot;, GroupName:=&quot;ReadOnlyStatesStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;EditableState&quot;, GroupName:=&quot;ReadOnlyStatesStates&quot;)&gt;
Public Class C1InputBase
    Inherits ContentControl
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</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_InputPanel_C1InputBase__ctor" data-uid="C1.WPF.InputPanel.C1InputBase.#ctor">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.-ctor.html#C1_WPF_InputPanel_C1InputBase__ctor">C1InputBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.InputPanel.C1InputBase.html">C1InputBase</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_InputPanel_C1InputBase_ButtonBackgroundProperty" data-uid="C1.WPF.InputPanel.C1InputBase.ButtonBackgroundProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.ButtonBackgroundProperty.html">ButtonBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.ButtonBackground.html#C1_WPF_InputPanel_C1InputBase_ButtonBackground">ButtonBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_ButtonForegroundProperty" data-uid="C1.WPF.InputPanel.C1InputBase.ButtonForegroundProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.ButtonForegroundProperty.html">ButtonForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.ButtonForeground.html#C1_WPF_InputPanel_C1InputBase_ButtonForeground">ButtonForeground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_CornerRadiusProperty" data-uid="C1.WPF.InputPanel.C1InputBase.CornerRadiusProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.CornerRadiusProperty.html">CornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.CornerRadius.html#C1_WPF_InputPanel_C1InputBase_CornerRadius">CornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_FocusBrushProperty" data-uid="C1.WPF.InputPanel.C1InputBase.FocusBrushProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.FocusBrushProperty.html">FocusBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.FocusBrush.html#C1_WPF_InputPanel_C1InputBase_FocusBrush">FocusBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_HeaderProperty" data-uid="C1.WPF.InputPanel.C1InputBase.HeaderProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.HeaderProperty.html">HeaderProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.Header.html#C1_WPF_InputPanel_C1InputBase_Header">Header</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_IsReadOnlyProperty" data-uid="C1.WPF.InputPanel.C1InputBase.IsReadOnlyProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.IsReadOnlyProperty.html">IsReadOnlyProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.IsReadOnly.html#C1_WPF_InputPanel_C1InputBase_IsReadOnly">IsReadOnly</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_LabelForegroundProperty" data-uid="C1.WPF.InputPanel.C1InputBase.LabelForegroundProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.LabelForegroundProperty.html">LabelForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.LabelForeground.html#C1_WPF_InputPanel_C1InputBase_LabelForeground">LabelForeground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_MouseOverBrushProperty" data-uid="C1.WPF.InputPanel.C1InputBase.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.MouseOverBrush.html#C1_WPF_InputPanel_C1InputBase_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_PressedBrushProperty" data-uid="C1.WPF.InputPanel.C1InputBase.PressedBrushProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.PressedBrush.html#C1_WPF_InputPanel_C1InputBase_PressedBrush">PressedBrush</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_InputPanel_C1InputBase_ButtonBackground" data-uid="C1.WPF.InputPanel.C1InputBase.ButtonBackground">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.ButtonBackground.html#C1_WPF_InputPanel_C1InputBase_ButtonBackground">ButtonBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> that will be assigned to the Background of the buttons inside the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_ButtonForeground" data-uid="C1.WPF.InputPanel.C1InputBase.ButtonForeground">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.ButtonForeground.html#C1_WPF_InputPanel_C1InputBase_ButtonForeground">ButtonForeground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> that will be assigned to the Foreground of the buttons inside the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_CornerRadius" data-uid="C1.WPF.InputPanel.C1InputBase.CornerRadius">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.CornerRadius.html#C1_WPF_InputPanel_C1InputBase_CornerRadius">CornerRadius</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that represents the degree to which the corners of the element are rounded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_DataBinding" data-uid="C1.WPF.InputPanel.C1InputBase.DataBinding">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.DataBinding.html#C1_WPF_InputPanel_C1InputBase_DataBinding">DataBinding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data binding.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_FocusBrush" data-uid="C1.WPF.InputPanel.C1InputBase.FocusBrush">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.FocusBrush.html#C1_WPF_InputPanel_C1InputBase_FocusBrush">FocusBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to highlight the focused control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_Header" data-uid="C1.WPF.InputPanel.C1InputBase.Header">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.Header.html#C1_WPF_InputPanel_C1InputBase_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the property name of this control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_IsReadOnly" data-uid="C1.WPF.InputPanel.C1InputBase.IsReadOnly">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.IsReadOnly.html#C1_WPF_InputPanel_C1InputBase_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines if this control is read-only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_LabelForeground" data-uid="C1.WPF.InputPanel.C1InputBase.LabelForeground">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.LabelForeground.html#C1_WPF_InputPanel_C1InputBase_LabelForeground">LabelForeground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background of label.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_MouseOverBrush" data-uid="C1.WPF.InputPanel.C1InputBase.MouseOverBrush">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.MouseOverBrush.html#C1_WPF_InputPanel_C1InputBase_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_Order" data-uid="C1.WPF.InputPanel.C1InputBase.Order">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.Order.html#C1_WPF_InputPanel_C1InputBase_Order">Order</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the constol order.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_PressedBrush" data-uid="C1.WPF.InputPanel.C1InputBase.PressedBrush">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.PressedBrush.html#C1_WPF_InputPanel_C1InputBase_PressedBrush">PressedBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to paint a button when it is pressed.</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_InputPanel_C1InputBase_ChangeVisualStateReadOnlyStates_System_Boolean_" data-uid="C1.WPF.InputPanel.C1InputBase.ChangeVisualStateReadOnlyStates(System.Boolean)">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.ChangeVisualStateReadOnlyStates.html#C1_WPF_InputPanel_C1InputBase_ChangeVisualStateReadOnlyStates_System_Boolean_">ChangeVisualStateReadOnlyStates(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the ReadOnlyStates visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_IsEnabledBinding" data-uid="C1.WPF.InputPanel.C1InputBase.IsEnabledBinding">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.IsEnabledBinding.html#C1_WPF_InputPanel_C1InputBase_IsEnabledBinding">IsEnabledBinding()</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the IsEnabled property to the current input control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_IsReadOnlyBinding" data-uid="C1.WPF.InputPanel.C1InputBase.IsReadOnlyBinding">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.IsReadOnlyBinding.html#C1_WPF_InputPanel_C1InputBase_IsReadOnlyBinding">IsReadOnlyBinding()</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the IsReadOnly property to the current input control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputBase_OnApplyTemplate" data-uid="C1.WPF.InputPanel.C1InputBase.OnApplyTemplate">
          <a class="xref" href="C1.WPF.InputPanel.C1InputBase.OnApplyTemplate.html#C1_WPF_InputPanel_C1InputBase_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.InputPanel.C1InputBase.html">C1InputBase</a> control when a new template is applied.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
