Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / SingleUpDown Class
Members Example


In This Topic
    SingleUpDown Class
    In This Topic
    Represents a textbox with button spinners that allow incrementing and decrementing float 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 SingleUpDown 
       Inherits Xceed.Wpf.Toolkit.CommonNumericUpDown(Of Single)
       Implements Xceed.Wpf.Toolkit.Core.Input.IValidateInput 
    'Usage
     
    Dim instance As SingleUpDown
    [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 SingleUpDown : Xceed.Wpf.Toolkit.CommonNumericUpDown<float>, Xceed.Wpf.Toolkit.Core.Input.IValidateInput  
    Example
    The following shows how to create a SingleUpDown.
    <xctk:SingleUpDown Value="13432.8767"/>
    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.SingleUpDown
                                        Xceed.Wpf.Toolkit.PropertyGrid.Editors.PropertyGridEditorSingleUpDown

    Requirements

    See Also