# GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField" class="text-break">NumberIntegerPartField Class
</h1>
  <div class="markdown level0 summary"><p>Represents <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.html">NumberIntegerPartField</a> class which displays integer part for GrapeCity.Windows.InputMan.GcNumber.</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.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.html">Field</a></div>
    <div class="level6"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberField.html">NumberField</a></div>
    <div class="level7"><span class="xref">NumberIntegerPartField</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.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ISpinable.html">ISpinable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class NumberIntegerPartField : NumberField, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class NumberIntegerPartField
    Inherits NumberField
    Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable, INotifyPropertyChanged</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>
  <b>Supported <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.visualstate">VisualState</a> list:</b>
  <table width="50%" cellspacing="2" cellpadding="5" frame="lhs">
    <tr>
      <th>
        <p>VisualStateGroup Name</p>
      </th>
      <th>
        <p>VisualState Name</p>
      </th>
      <th>
        <p>Description</p>
      </th>
    </tr>
    <tr>
      <td>
        <p>CommonStates</p>
      </td>
      <td>
        <p>Normal</p>
      </td>
      <td>
        <p>Represents the visual appearance when control is in normal state.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>CommonStates</p>
      </td>
      <td>
        <p>Disabled</p>
      </td>
      <td>
        <p>Represents the visual appearance when <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement.isenabled">IsEnabled</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>CommonStates</p>
      </td>
      <td>
        <p>MouseOver</p>
      </td>
      <td>
        <p>Represents the visual appearance when <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement.ismouseover">IsMouseOver</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>ActiveStates</p>
      </td>
      <td>
        <p>Active</p>
      </td>
      <td>
        <p>Represents the visual appearance when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.IsActive.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Field_IsActive">IsActive</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>ActiveStates</p>
      </td>
      <td>
        <p>Inactive</p>
      </td>
      <td>
        <p>Represents the visual appearance when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.IsActive.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Field_IsActive">IsActive</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>InputStates</p>
      </td>
      <td>
        <p>Full</p>
      </td>
      <td>
        <p>Represents the visual appearance when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.IsFull.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Field_IsFull">IsFull</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>InputStates</p>
      </td>
      <td>
        <p>Completed</p>
      </td>
      <td>
        <p>Represents the visual appearance when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.IsCompleted.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Field_IsCompleted">IsCompleted</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>InputStates</p>
      </td>
      <td>
        <p>Empty</p>
      </td>
      <td>
        <p>Represents the visual appearance when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.IsEmpty.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Field_IsEmpty">IsEmpty</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>InputStates</p>
      </td>
      <td>
        <p>Part</p>
      </td>
      <td>
        <p>Represents the visual appearance when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.IsFull.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Field_IsFull">IsFull</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.IsCompleted.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Field_IsCompleted">IsCompleted</a> and <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field.IsEmpty.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Field_IsEmpty">IsEmpty</a> all are <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>ValidationStates</p>
      </td>
      <td>
        <p>Valid</p>
      </td>
      <td>
        <p>Represents the visual appearance when <span class="xref">System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)</span> returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>ValidationStates</p>
      </td>
      <td>
        <p>InvalidFocused</p>
      </td>
      <td>
        <p>Represents the visual appearance when <span class="xref">System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)</span> returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> and control has focus.</p>
      </td>
    </tr>
    <tr>
      <td>
        <p>ValidationStates</p>
      </td>
      <td>
        <p>InvalidUnfocused</p>
      </td>
      <td>
        <p>Represents the visual appearance when <span class="xref">System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)</span> returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> and control has no focus.</p>
      </td>
    </tr>
  </table>

</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField__ctor">NumberIntegerPartField()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.html">NumberIntegerPartField</a> class.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_GroupSeparatorProperty" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.GroupSeparatorProperty">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.GroupSeparatorProperty.html">GroupSeparatorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.GroupSeparator.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_GroupSeparator">GroupSeparator</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_SpinIncrementProperty" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.SpinIncrementProperty">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.SpinIncrementProperty.html">SpinIncrementProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.SpinIncrement.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_SpinIncrement">SpinIncrement</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_ValueProperty" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.ValueProperty">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.ValueProperty.html">ValueProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <span class="xref">GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.Value</span> 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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_GroupSeparator" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.GroupSeparator">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.GroupSeparator.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_GroupSeparator">GroupSeparator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a> that separates groups of digits to the left of the decimal in numeric values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_GroupSizes" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.GroupSizes">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.GroupSizes.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_GroupSizes">GroupSizes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of digits in each group to the left of the decimal in numeric values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_MaxDigits" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.MaxDigits">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.MaxDigits.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_MaxDigits">MaxDigits</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the optional digits of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.html">NumberIntegerPartField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_MinDigits" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.MinDigits">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.MinDigits.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_MinDigits">MinDigits</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the required digits of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.html">NumberIntegerPartField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_SpinIncrement" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.SpinIncrement">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.SpinIncrement.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_SpinIncrement">SpinIncrement</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the spin increment of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.html">NumberIntegerPartField</a>.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_DoSpinDown" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.DoSpinDown">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.DoSpinDown.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_DoSpinDown">DoSpinDown()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs spin down behavior.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_DoSpinDown_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.DoSpinDown(System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.DoSpinDown.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_DoSpinDown_System_Int32_">DoSpinDown(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs spin down with the specified increment parameters.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_DoSpinUp" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.DoSpinUp">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.DoSpinUp.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_DoSpinUp">DoSpinUp()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs spin up behavior.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_DoSpinUp_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.DoSpinUp(System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField.DoSpinUp.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberIntegerPartField_DoSpinUp_System_Int32_">DoSpinUp(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs spin up with the specified increment parameters.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
