C1.WPF Namespace / C1NumericBox Class
Members

C1NumericBox Class
The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.
Object Model
C1NumericBox Class
Syntax
'Declaration
 
<LicenseProviderAttribute()>
<TemplatePartAttribute(Name="Text", Type=C1.WPF.C1TextBoxBase)>
<TemplateVisualStateAttribute(Name="ShowButtons", GroupName="ButtonsVisibilityStates")>
<StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class C1NumericBox 
   Inherits System.Windows.Controls.Control
 
Remarks
  • Format property supports standard and custom formats.
  • Watermark property shows help text when the control is empty.
  • AllowNull property allows binding to and displaying null values.
When the control is empty, or bound to a null value, the Value property returns double.NaN.
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
                     C1.WPF.C1NumericBox

See Also