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


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

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

ByteUpDown Members
Xceed.Wpf.Toolkit Namespace