Xceed Toolkit Plus for WPF v4.6 Documentation
IntegerUpDown Class
Members  Example 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : IntegerUpDown Class
Represents a textbox with button spinners that allow incrementing and decrementing integer values by using the spinner buttons, keyboard up/down arrows, or mouse wheel.
Syntax
'Declaration
 
<TemplatePartAttribute(Name="PART_TextBox", Type=System.Windows.Controls.TextBox)>
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class IntegerUpDown 
   Inherits Xceed.Wpf.Toolkit.CommonNumericUpDown(Of Integer)
   Implements Xceed.Wpf.Toolkit.Core.Input.IValidateInput 
'Usage
 
Dim instance As IntegerUpDown
[TemplatePart(Name="PART_TextBox", Type=System.Windows.Controls.TextBox)]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class IntegerUpDown : Xceed.Wpf.Toolkit.CommonNumericUpDown<int>, Xceed.Wpf.Toolkit.Core.Input.IValidateInput  
Example
The following shows how to create an IntegerUpDown, setting the FormatString, Value, Increment, and Maximum values.
<xctk:IntegerUpDown FormatString="N0" Value="1564" Increment="1" Maximum="200000"/>
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     Xceed.Wpf.Toolkit.Primitives.InputBase
                        Xceed.Wpf.Toolkit.Primitives.UpDownBase<T>
                           Xceed.Wpf.Toolkit.NumericUpDown<T>
                              Xceed.Wpf.Toolkit.CommonNumericUpDown<T>
                                 Xceed.Wpf.Toolkit.IntegerUpDown
                                    Xceed.Wpf.Toolkit.PropertyGrid.Editors.PropertyGridEditorIntegerUpDown

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IntegerUpDown Members
Xceed.Wpf.Toolkit Namespace