# C1.WPF.C1NumericBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1NumericBox" data-uid="C1.WPF.C1NumericBox" class="text-break">C1NumericBox Class
</h1>
  <div class="markdown level0 summary"><p>The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.</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">C1NumericBox</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.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1NumericBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Text&quot;, Type = typeof(C1TextBoxBase))]
[TemplatePart(Name = &quot;Increase&quot;, Type = typeof(RepeatButton))]
[TemplatePart(Name = &quot;Decrease&quot;, Type = typeof(RepeatButton))]
[TemplateVisualState(Name = &quot;ShowButtons&quot;, GroupName = &quot;ButtonsVisibilityStates&quot;)]
[TemplateVisualState(Name = &quot;HideButtons&quot;, GroupName = &quot;ButtonsVisibilityStates&quot;)]
[TemplateVisualState(Name = &quot;MouseOver&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Disabled&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Normal&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Focused&quot;, GroupName = &quot;FocusStates&quot;)]
[TemplateVisualState(Name = &quot;Unfocused&quot;, GroupName = &quot;FocusStates&quot;)]
[TemplateVisualState(Name = &quot;Valid&quot;, GroupName = &quot;ValidationStatesStates&quot;)]
[TemplateVisualState(Name = &quot;InvalidUnfocused&quot;, GroupName = &quot;ValidationStatesStates&quot;)]
[TemplateVisualState(Name = &quot;InvalidFocused&quot;, GroupName = &quot;ValidationStatesStates&quot;)]
[StyleTypedProperty(Property = &quot;ValidationDecoratorStyle&quot;, StyleTargetType = typeof(C1ValidationDecorator))]
public class C1NumericBox : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Text&quot;, Type:=GetType(C1TextBoxBase))&gt;
&lt;TemplatePart(Name:=&quot;Increase&quot;, Type:=GetType(RepeatButton))&gt;
&lt;TemplatePart(Name:=&quot;Decrease&quot;, Type:=GetType(RepeatButton))&gt;
&lt;TemplateVisualState(Name:=&quot;ShowButtons&quot;, GroupName:=&quot;ButtonsVisibilityStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;HideButtons&quot;, GroupName:=&quot;ButtonsVisibilityStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;MouseOver&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Disabled&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Normal&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Focused&quot;, GroupName:=&quot;FocusStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Unfocused&quot;, GroupName:=&quot;FocusStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Valid&quot;, GroupName:=&quot;ValidationStatesStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;InvalidUnfocused&quot;, GroupName:=&quot;ValidationStatesStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;InvalidFocused&quot;, GroupName:=&quot;ValidationStatesStates&quot;)&gt;
&lt;StyleTypedProperty(Property:=&quot;ValidationDecoratorStyle&quot;, StyleTargetType:=GetType(C1ValidationDecorator))&gt;
Public Class C1NumericBox
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <h5 id="C1_WPF_C1NumericBox_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>When the control is empty, or bound to a null value, the <a class="xref" href="C1.WPF.C1NumericBox.Value.html#C1_WPF_C1NumericBox_Value">Value</a> property returns <b>double.NaN</b>.</p>
</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_C1NumericBox__ctor" data-uid="C1.WPF.C1NumericBox.#ctor">
          <a class="xref" href="C1.WPF.C1NumericBox.-ctor.html#C1_WPF_C1NumericBox__ctor">C1NumericBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</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_C1NumericBox_AllowNullProperty" data-uid="C1.WPF.C1NumericBox.AllowNullProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.AllowNullProperty.html">AllowNullProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.AllowNull.html#C1_WPF_C1NumericBox_AllowNull">AllowNull</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ButtonBackgroundProperty" data-uid="C1.WPF.C1NumericBox.ButtonBackgroundProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.ButtonBackgroundProperty.html">ButtonBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.ButtonBackground.html#C1_WPF_C1NumericBox_ButtonBackground">ButtonBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ButtonForegroundProperty" data-uid="C1.WPF.C1NumericBox.ButtonForegroundProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.ButtonForegroundProperty.html">ButtonForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.ButtonForeground.html#C1_WPF_C1NumericBox_ButtonForeground">ButtonForeground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_CaretBrushProperty" data-uid="C1.WPF.C1NumericBox.CaretBrushProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.CaretBrushProperty.html">CaretBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.CaretBrush.html#C1_WPF_C1NumericBox_CaretBrush">CaretBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_CornerRadiusProperty" data-uid="C1.WPF.C1NumericBox.CornerRadiusProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.CornerRadiusProperty.html">CornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.CornerRadius.html#C1_WPF_C1NumericBox_CornerRadius">CornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_CultureProperty" data-uid="C1.WPF.C1NumericBox.CultureProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.CultureProperty.html">CultureProperty</a>
        </td>
        <td class="markdown level1 summary"><p>The Culture property is obsolete, use the FrameworkElement.Language property instead.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_DelayProperty" data-uid="C1.WPF.C1NumericBox.DelayProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.DelayProperty.html">DelayProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.Delay.html#C1_WPF_C1NumericBox_Delay">Delay</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_DisabledCuesVisibilityProperty" data-uid="C1.WPF.C1NumericBox.DisabledCuesVisibilityProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.DisabledCuesVisibilityProperty.html">DisabledCuesVisibilityProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.DisabledCuesVisibility.html#C1_WPF_C1NumericBox_DisabledCuesVisibility">DisabledCuesVisibility</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_FocusBrushProperty" data-uid="C1.WPF.C1NumericBox.FocusBrushProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.FocusBrushProperty.html">FocusBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.FocusBrush.html#C1_WPF_C1NumericBox_FocusBrush">FocusBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_FocusCuesVisibilityProperty" data-uid="C1.WPF.C1NumericBox.FocusCuesVisibilityProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.FocusCuesVisibilityProperty.html">FocusCuesVisibilityProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.FocusCuesVisibility.html#C1_WPF_C1NumericBox_FocusCuesVisibility">FocusCuesVisibility</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_FormatProperty" data-uid="C1.WPF.C1NumericBox.FormatProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.FormatProperty.html">FormatProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.Format.html#C1_WPF_C1NumericBox_Format">Format</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_HandleUpDownKeysProperty" data-uid="C1.WPF.C1NumericBox.HandleUpDownKeysProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.HandleUpDownKeysProperty.html">HandleUpDownKeysProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.HandleUpDownKeys.html#C1_WPF_C1NumericBox_HandleUpDownKeys">HandleUpDownKeys</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_IncrementProperty" data-uid="C1.WPF.C1NumericBox.IncrementProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.IncrementProperty.html">IncrementProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.Increment.html#C1_WPF_C1NumericBox_Increment">Increment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_IntervalProperty" data-uid="C1.WPF.C1NumericBox.IntervalProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.IntervalProperty.html">IntervalProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.Interval.html#C1_WPF_C1NumericBox_Interval">Interval</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_IsFocusedProperty" data-uid="C1.WPF.C1NumericBox.IsFocusedProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.IsFocusedProperty.html">IsFocusedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.IsFocused.html#C1_WPF_C1NumericBox_IsFocused">IsFocused</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_IsReadOnlyProperty" data-uid="C1.WPF.C1NumericBox.IsReadOnlyProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.IsReadOnlyProperty.html">IsReadOnlyProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.IsReadOnly.html#C1_WPF_C1NumericBox_IsReadOnly">IsReadOnly</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_MaximumProperty" data-uid="C1.WPF.C1NumericBox.MaximumProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.MaximumProperty.html">MaximumProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.Maximum.html#C1_WPF_C1NumericBox_Maximum">Maximum</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_MinimumProperty" data-uid="C1.WPF.C1NumericBox.MinimumProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.MinimumProperty.html">MinimumProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.Minimum.html#C1_WPF_C1NumericBox_Minimum">Minimum</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_MouseOverBrushProperty" data-uid="C1.WPF.C1NumericBox.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.MouseOverBrush.html#C1_WPF_C1NumericBox_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_PressedBrushProperty" data-uid="C1.WPF.C1NumericBox.PressedBrushProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.PressedBrush.html#C1_WPF_C1NumericBox_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_RangeValidationModeProperty" data-uid="C1.WPF.C1NumericBox.RangeValidationModeProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.RangeValidationModeProperty.html">RangeValidationModeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.RangeValidationMode.html#C1_WPF_C1NumericBox_RangeValidationMode">RangeValidationMode</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_SelectOnFocusProperty" data-uid="C1.WPF.C1NumericBox.SelectOnFocusProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.SelectOnFocusProperty.html">SelectOnFocusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.SelectOnFocus.html#C1_WPF_C1NumericBox_SelectOnFocus">SelectOnFocus</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_SelectionBackgroundProperty" data-uid="C1.WPF.C1NumericBox.SelectionBackgroundProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.SelectionBackgroundProperty.html">SelectionBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <span class="xref">C1.WPF.C1NumericBox.SelectionBackground</span> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_SelectionForegroundProperty" data-uid="C1.WPF.C1NumericBox.SelectionForegroundProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.SelectionForegroundProperty.html">SelectionForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <span class="xref">C1.WPF.C1NumericBox.SelectionForeground</span> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_SelectionLengthProperty" data-uid="C1.WPF.C1NumericBox.SelectionLengthProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.SelectionLengthProperty.html">SelectionLengthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.SelectionLength.html#C1_WPF_C1NumericBox_SelectionLength">SelectionLength</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_SelectionStartProperty" data-uid="C1.WPF.C1NumericBox.SelectionStartProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.SelectionStartProperty.html">SelectionStartProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.SelectionStart.html#C1_WPF_C1NumericBox_SelectionStart">SelectionStart</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ShowButtonsProperty" data-uid="C1.WPF.C1NumericBox.ShowButtonsProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.ShowButtonsProperty.html">ShowButtonsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.ShowButtons.html#C1_WPF_C1NumericBox_ShowButtons">ShowButtons</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_TextAlignmentProperty" data-uid="C1.WPF.C1NumericBox.TextAlignmentProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.TextAlignmentProperty.html">TextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.TextAlignment.html#C1_WPF_C1NumericBox_TextAlignment">TextAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ValidationDecoratorStyleProperty" data-uid="C1.WPF.C1NumericBox.ValidationDecoratorStyleProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.ValidationDecoratorStyleProperty.html">ValidationDecoratorStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.ValidationDecoratorStyle.html#C1_WPF_C1NumericBox_ValidationDecoratorStyle">ValidationDecoratorStyle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ValueProperty" data-uid="C1.WPF.C1NumericBox.ValueProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.ValueProperty.html">ValueProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.Value.html#C1_WPF_C1NumericBox_Value">Value</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_WatermarkProperty" data-uid="C1.WPF.C1NumericBox.WatermarkProperty">
          <a class="xref" href="C1.WPF.C1NumericBox.WatermarkProperty.html">WatermarkProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1NumericBox.Watermark.html#C1_WPF_C1NumericBox_Watermark">Watermark</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_C1NumericBox_AllowNull" data-uid="C1.WPF.C1NumericBox.AllowNull">
          <a class="xref" href="C1.WPF.C1NumericBox.AllowNull.html#C1_WPF_C1NumericBox_AllowNull">AllowNull</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the user can enter nulls values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ButtonBackground" data-uid="C1.WPF.C1NumericBox.ButtonBackground">
          <a class="xref" href="C1.WPF.C1NumericBox.ButtonBackground.html#C1_WPF_C1NumericBox_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_C1NumericBox_ButtonForeground" data-uid="C1.WPF.C1NumericBox.ButtonForeground">
          <a class="xref" href="C1.WPF.C1NumericBox.ButtonForeground.html#C1_WPF_C1NumericBox_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_C1NumericBox_CaretBrush" data-uid="C1.WPF.C1NumericBox.CaretBrush">
          <a class="xref" href="C1.WPF.C1NumericBox.CaretBrush.html#C1_WPF_C1NumericBox_CaretBrush">CaretBrush</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> of the blinking cursor of an input control.  When .NET Framework is v3.5, 'CaretBrush' takes no effect.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_CornerRadius" data-uid="C1.WPF.C1NumericBox.CornerRadius">
          <a class="xref" href="C1.WPF.C1NumericBox.CornerRadius.html#C1_WPF_C1NumericBox_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_C1NumericBox_Culture" data-uid="C1.WPF.C1NumericBox.Culture">
          <a class="xref" href="C1.WPF.C1NumericBox.Culture.html#C1_WPF_C1NumericBox_Culture">Culture</a>
        </td>
        <td class="markdown level1 summary"><p>The Culture property is obsolete, use the FrameworkElement.Language property instead.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Delay" data-uid="C1.WPF.C1NumericBox.Delay">
          <a class="xref" href="C1.WPF.C1NumericBox.Delay.html#C1_WPF_C1NumericBox_Delay">Delay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the delay for the Increase and Decrease buttons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_DisabledCuesVisibility" data-uid="C1.WPF.C1NumericBox.DisabledCuesVisibility">
          <a class="xref" href="C1.WPF.C1NumericBox.DisabledCuesVisibility.html#C1_WPF_C1NumericBox_DisabledCuesVisibility">DisabledCuesVisibility</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the disabled visuals of the control are visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_FocusBrush" data-uid="C1.WPF.C1NumericBox.FocusBrush">
          <a class="xref" href="C1.WPF.C1NumericBox.FocusBrush.html#C1_WPF_C1NumericBox_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_C1NumericBox_FocusCuesVisibility" data-uid="C1.WPF.C1NumericBox.FocusCuesVisibility">
          <a class="xref" href="C1.WPF.C1NumericBox.FocusCuesVisibility.html#C1_WPF_C1NumericBox_FocusCuesVisibility">FocusCuesVisibility</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the focus visuals of the control are visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Format" data-uid="C1.WPF.C1NumericBox.Format">
          <a class="xref" href="C1.WPF.C1NumericBox.Format.html#C1_WPF_C1NumericBox_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value for the Format of the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_HandleUpDownKeys" data-uid="C1.WPF.C1NumericBox.HandleUpDownKeys">
          <a class="xref" href="C1.WPF.C1NumericBox.HandleUpDownKeys.html#C1_WPF_C1NumericBox_HandleUpDownKeys">HandleUpDownKeys</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets If the control handles the Up / Down / PageUp / PageDown keys.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Increment" data-uid="C1.WPF.C1NumericBox.Increment">
          <a class="xref" href="C1.WPF.C1NumericBox.Increment.html#C1_WPF_C1NumericBox_Increment">Increment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the increment applied when the user pressed the up/down arrow keys.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Interval" data-uid="C1.WPF.C1NumericBox.Interval">
          <a class="xref" href="C1.WPF.C1NumericBox.Interval.html#C1_WPF_C1NumericBox_Interval">Interval</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the interval for the Increase and Decrease buttons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_IsFocused" data-uid="C1.WPF.C1NumericBox.IsFocused">
          <a class="xref" href="C1.WPF.C1NumericBox.IsFocused.html#C1_WPF_C1NumericBox_IsFocused">IsFocused</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the control has the focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_IsReadOnly" data-uid="C1.WPF.C1NumericBox.IsReadOnly">
          <a class="xref" href="C1.WPF.C1NumericBox.IsReadOnly.html#C1_WPF_C1NumericBox_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value that determines if the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a> is read-only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Maximum" data-uid="C1.WPF.C1NumericBox.Maximum">
          <a class="xref" href="C1.WPF.C1NumericBox.Maximum.html#C1_WPF_C1NumericBox_Maximum">Maximum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value allowed for the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Minimum" data-uid="C1.WPF.C1NumericBox.Minimum">
          <a class="xref" href="C1.WPF.C1NumericBox.Minimum.html#C1_WPF_C1NumericBox_Minimum">Minimum</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value allowed for the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_MouseOverBrush" data-uid="C1.WPF.C1NumericBox.MouseOverBrush">
          <a class="xref" href="C1.WPF.C1NumericBox.MouseOverBrush.html#C1_WPF_C1NumericBox_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_C1NumericBox_PressedBrush" data-uid="C1.WPF.C1NumericBox.PressedBrush">
          <a class="xref" href="C1.WPF.C1NumericBox.PressedBrush.html#C1_WPF_C1NumericBox_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>
      <tr>
        <td id="C1_WPF_C1NumericBox_RangeValidationMode" data-uid="C1.WPF.C1NumericBox.RangeValidationMode">
          <a class="xref" href="C1.WPF.C1NumericBox.RangeValidationMode.html#C1_WPF_C1NumericBox_RangeValidationMode">RangeValidationMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mode used to validate the range between Minimum and Maximum.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_SelectOnFocus" data-uid="C1.WPF.C1NumericBox.SelectOnFocus">
          <a class="xref" href="C1.WPF.C1NumericBox.SelectOnFocus.html#C1_WPF_C1NumericBox_SelectOnFocus">SelectOnFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the condition under which all control text is selected when the control receives focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_SelectionLength" data-uid="C1.WPF.C1NumericBox.SelectionLength">
          <a class="xref" href="C1.WPF.C1NumericBox.SelectionLength.html#C1_WPF_C1NumericBox_SelectionLength">SelectionLength</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of characters in the current selection in the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_SelectionStart" data-uid="C1.WPF.C1NumericBox.SelectionStart">
          <a class="xref" href="C1.WPF.C1NumericBox.SelectionStart.html#C1_WPF_C1NumericBox_SelectionStart">SelectionStart</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting position of the text selected in the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ShowButtons" data-uid="C1.WPF.C1NumericBox.ShowButtons">
          <a class="xref" href="C1.WPF.C1NumericBox.ShowButtons.html#C1_WPF_C1NumericBox_ShowButtons">ShowButtons</a>
        </td>
        <td class="markdown level1 summary"><p>Shows or hides the buttons for Increment or Decrement.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_TextAlignment" data-uid="C1.WPF.C1NumericBox.TextAlignment">
          <a class="xref" href="C1.WPF.C1NumericBox.TextAlignment.html#C1_WPF_C1NumericBox_TextAlignment">TextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how the text should be aligned in the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ValidationDecoratorStyle" data-uid="C1.WPF.C1NumericBox.ValidationDecoratorStyle">
          <a class="xref" href="C1.WPF.C1NumericBox.ValidationDecoratorStyle.html#C1_WPF_C1NumericBox_ValidationDecoratorStyle">ValidationDecoratorStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style that is applied to the inner <a class="xref" href="C1.WPF.C1ValidationDecorator.html">C1ValidationDecorator</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Value" data-uid="C1.WPF.C1NumericBox.Value">
          <a class="xref" href="C1.WPF.C1NumericBox.Value.html#C1_WPF_C1NumericBox_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the numeric value in the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Watermark" data-uid="C1.WPF.C1NumericBox.Watermark">
          <a class="xref" href="C1.WPF.C1NumericBox.Watermark.html#C1_WPF_C1NumericBox_Watermark">Watermark</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the watermark content displayed when the control is empty.</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_C1NumericBox_ChangeVisualStateButtonsVisibility_System_Boolean_" data-uid="C1.WPF.C1NumericBox.ChangeVisualStateButtonsVisibility(System.Boolean)">
          <a class="xref" href="C1.WPF.C1NumericBox.ChangeVisualStateButtonsVisibility.html#C1_WPF_C1NumericBox_ChangeVisualStateButtonsVisibility_System_Boolean_">ChangeVisualStateButtonsVisibility(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the ButtonsVisibility visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.C1NumericBox.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.C1NumericBox.ChangeVisualStateCommon.html#C1_WPF_C1NumericBox_ChangeVisualStateCommon_System_Boolean_">ChangeVisualStateCommon(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Common visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ChangeVisualStateFocus_System_Boolean_" data-uid="C1.WPF.C1NumericBox.ChangeVisualStateFocus(System.Boolean)">
          <a class="xref" href="C1.WPF.C1NumericBox.ChangeVisualStateFocus.html#C1_WPF_C1NumericBox_ChangeVisualStateFocus_System_Boolean_">ChangeVisualStateFocus(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Focus visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_OnApplyTemplate" data-uid="C1.WPF.C1NumericBox.OnApplyTemplate">
          <a class="xref" href="C1.WPF.C1NumericBox.OnApplyTemplate.html#C1_WPF_C1NumericBox_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.C1NumericBox.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1NumericBox.OnPropertyChanged.html#C1_WPF_C1NumericBox_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_">OnPropertyChanged(DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked whenever the effective value of any dependency property has been updated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_OnValueChanged_C1_WPF_PropertyChangedEventArgs_System_Double__" data-uid="C1.WPF.C1NumericBox.OnValueChanged(C1.WPF.PropertyChangedEventArgs{System.Double})">
          <a class="xref" href="C1.WPF.C1NumericBox.OnValueChanged.html#C1_WPF_C1NumericBox_OnValueChanged_C1_WPF_PropertyChangedEventArgs_System_Double__">OnValueChanged(PropertyChangedEventArgs&lt;double&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.WPF.C1NumericBox.ValueChanged.html">ValueChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_Select_System_Int32_System_Int32_" data-uid="C1.WPF.C1NumericBox.Select(System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.C1NumericBox.Select.html#C1_WPF_C1NumericBox_Select_System_Int32_System_Int32_">Select(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects the text specified by start and length.</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_C1NumericBox_IsMouseOverChanged" data-uid="C1.WPF.C1NumericBox.IsMouseOverChanged">
          <a class="xref" href="C1.WPF.C1NumericBox.IsMouseOverChanged.html">IsMouseOverChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">IsMouseOver</span> property has changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1NumericBox_ValueChanged" data-uid="C1.WPF.C1NumericBox.ValueChanged">
          <a class="xref" href="C1.WPF.C1NumericBox.ValueChanged.html">ValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the <a class="xref" href="C1.WPF.C1NumericBox.Value.html#C1_WPF_C1NumericBox_Value">Value</a> property 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>
