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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : LongUpDown Class
Represents a textbox with button spinners that allow incrementing and decrementing long 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 LongUpDown 
   Inherits Xceed.Wpf.Toolkit.CommonNumericUpDown(Of Long)
   Implements Xceed.Wpf.Toolkit.Core.Input.IValidateInput 
'Usage
 
Dim instance As LongUpDown
[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 LongUpDown : Xceed.Wpf.Toolkit.CommonNumericUpDown<long>, Xceed.Wpf.Toolkit.Core.Input.IValidateInput  
Example
The following shows how to create a LongUpDown.
<xctk:LongUpDown Value="9223372036854775807"/>
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.LongUpDown
                                    Xceed.Wpf.Toolkit.PropertyGrid.Editors.PropertyGridEditorLongUpDown

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

LongUpDown Members
Xceed.Wpf.Toolkit Namespace