The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.
Object Model
Syntax
'Declaration
<System.ComponentModel.LicenseProviderAttribute()>
<System.Windows.TemplatePartAttribute(Name="Text", Type=C1.WPF.C1TextBoxBase)>
<System.Windows.TemplatePartAttribute(Name="Increase", Type=System.Windows.Controls.Primitives.RepeatButton)>
<System.Windows.TemplatePartAttribute(Name="Decrease", Type=System.Windows.Controls.Primitives.RepeatButton)>
<System.Windows.TemplateVisualStateAttribute(Name="ShowButtons", GroupName="ButtonsVisibilityStates")>
<System.Windows.TemplateVisualStateAttribute(Name="HideButtons", GroupName="ButtonsVisibilityStates")>
<System.Windows.TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Unfocused", GroupName="FocusStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Valid", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidUnfocused", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<System.Windows.StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
Public Class C1NumericBox
Inherits System.Windows.Controls.Control
'Usage
Dim instance As C1NumericBox
[System.ComponentModel.LicenseProvider()]
[System.Windows.TemplatePart(Name="Text", Type=C1.WPF.C1TextBoxBase)]
[System.Windows.TemplatePart(Name="Increase", Type=System.Windows.Controls.Primitives.RepeatButton)]
[System.Windows.TemplatePart(Name="Decrease", Type=System.Windows.Controls.Primitives.RepeatButton)]
[System.Windows.TemplateVisualState(Name="ShowButtons", GroupName="ButtonsVisibilityStates")]
[System.Windows.TemplateVisualState(Name="HideButtons", GroupName="ButtonsVisibilityStates")]
[System.Windows.TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Focused", GroupName="FocusStates")]
[System.Windows.TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[System.Windows.TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[System.Windows.StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public class C1NumericBox : System.Windows.Controls.Control
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