C1.Silverlight 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
 
<TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
<StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.Silverlight.C1ValidationDecorator)>
<TemplatePartAttribute(Name="Increase", Type=System.Windows.Controls.Primitives.RepeatButton)>
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.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               C1.Silverlight.C1NumericBox

See Also