The C1NumericBox type exposes the following members.

Constructors

  Name Description
Public method C1NumericBox
Initializes a new instance of a C1NumericBox.

Methods

  Name Description
Protected method ChangeVisualStateButtonsVisibility
Updates the current visual state of the ButtonsVisibility visual state group to match the object's properties.
Protected method ChangeVisualStateCommon
Updates the current visual state of the Common visual state group to match the object's properties.
Protected method ChangeVisualStateFocus
Updates the current visual state of the Focus visual state group to match the object's properties.
Protected method OnApplyTemplate
Builds the visual tree for the C1NumericBox control when a new template is applied.
(Overrides FrameworkElementOnApplyTemplate()()()().)
Protected method OnValueChanged
Raises the ValueChanged event.
Public method Select
Selects the text specified by start and length.

Fields

  Name Description
Public field Static member AllowNullProperty
Identifies the AllowNull dependency property.
Public field Static member ButtonBackgroundProperty
Identifies the ButtonBackground dependency property.
Public field Static member ButtonForegroundProperty
Identifies the ButtonForeground dependency property.
Public field Static member CaretBrushProperty
Identifies the CaretBrush dependency property.
Public field Static member CornerRadiusProperty
Identifies the CornerRadius dependency property.
Public field Static member CultureProperty
Identifies the Culture()()()() dependency property.
Public field Static member DelayProperty
Identifies the Delay dependency property.
Public field Static member DisabledCuesVisibilityProperty
Identifies the DisabledCuesVisibility dependency property.
Public field Static member FocusBrushProperty
Identifies the FocusBrush dependency property.
Public field Static member FocusCuesVisibilityProperty
Identifies the FocusCuesVisibility dependency property.
Public field Static member FormatProperty
Identifies the Format dependency property.
Public field Static member HandleUpDownKeysProperty
Identifies the HandleUpDownKeys dependency property.
Public field Static member IncrementProperty
Identifies the Increment dependency property.
Public field Static member IntervalProperty
Identifies the Interval dependency property.
Public field Static member IsFocusedProperty
Identifies the IsFocused dependency property.
Public field Static member IsMouseOverProperty
Identifies the IsMouseOver dependency property.
Public field Static member IsReadOnlyProperty
Identifies the IsReadOnly dependency property.
Public field Static member MaximumProperty
Identifies the Maximum dependency property.
Public field Static member MinimumProperty
Identifies the Minimum dependency property.
Public field Static member MouseOverBrushProperty
Identifies the MouseOverBrush dependency property.
Public field Static member PressedBrushProperty
Identifies the PressedBrush dependency property.
Public field Static member RangeValidationModeProperty
Identifies the RangeValidationMode dependency property.
Public field Static member SelectionBackgroundProperty
Identifies the SelectionBackground dependency property.
Public field Static member SelectionForegroundProperty
Identifies the SelectionForeground dependency property.
Public field Static member SelectionLengthProperty
Identifies the SelectionLength dependency property.
Public field Static member SelectionStartProperty
Identifies the SelectionStart dependency property.
Public field Static member SelectOnFocusProperty
Identifies the SelectOnFocus dependency property.
Public field Static member ShowButtonsProperty
Identifies the ShowButtons dependency property.
Public field Static member TextAlignmentProperty
Identifies the TextAlignment dependency property.
Public field Static member ValidationDecoratorStyleProperty
Identifies the ValidationDecoratorStyle dependency property.
Public field Static member ValueProperty
Identifies the Value dependency property.
Public field Static member WatermarkProperty
Identifies the Watermark dependency property.

Properties

  Name Description
Public property AllowNull
Gets or sets whether the user can enter nulls values.
Public property ButtonBackground
Gets or sets the Brush that will be assigned to the Background of the buttons inside the control.
Public property ButtonForeground
Gets or sets the Brush that will be assigned to the Foreground of the buttons inside the control.
Public property CaretBrush
Gets or sets the Brush of the blinking cursor of an input control.
Public property CornerRadius
Gets or sets a value that represents the degree to which the corners of the element are rounded.
Public property Delay
Gets or sets the delay for the Increase and Decrease buttons.
Public property DisabledCuesVisibility
Gets or sets a value indicating whether the disabled visuals of the control are visible.
Public property FocusBrush
Gets or sets the Brush used to highlight the focused control.
Public property FocusCuesVisibility
Gets or sets a value indicating whether the focus visuals of the control are visible.
Public property Format
Gets or sets the value for the Format of the C1NumericBox.
Public property HandleUpDownKeys
Gets or sets If the control handles the Up / Down / PageUp / PageDown keys.
Public property Increment
Gets or sets the increment applied when the user pressed the up/down arrow keys.
Public property Interval
Gets or sets the interval for the Increase and Decrease buttons.
Public property IsFocused
Returns true if the control has the focus.
Public property IsMouseOver
Returns true if the mouse is over the control.
Public property IsReadOnly
Gets or sets the value that determines if the C1NumericBox is read-only.
Public property Maximum
Gets or sets the maximum value allowed for the C1NumericBox.
Public property Minimum
Gets or sets the minimum value allowed for the C1NumericBox.
Public property MouseOverBrush
Gets or sets the Brush used to highlight the control when it has the mouse over.
Public property PressedBrush
Gets or sets the Brush used to paint a button when it is pressed.
Public property RangeValidationMode
Gets or sets the mode used to validate the range between Minimum and Maximum.
Public property SelectionBackground
Gets or sets the Brush that fills the background of the selected text.
Public property SelectionForeground
Gets or sets the Brush used as foreground of the selected text.
Public property SelectionLength
Gets or sets the number of characters in the current selection in the C1NumericBox.
Public property SelectionStart
Gets or sets the starting position of the text selected in the C1NumericBox.
Public property SelectOnFocus
Gets or sets the condition under which all control text is selected when the control receives focus.
Public property ShowButtons
Shows or hides the buttons for Increment or Decrement.
Public property TextAlignment
Gets or sets how the text should be aligned in the C1NumericBox.
Public property ValidationDecoratorStyle
Gets or sets the style that is applied to the inner C1ValidationDecorator.
Public property Value
Gets or sets the numeric value in the C1NumericBox.
Public property Watermark
Gets or sets the watermark content displayed when the control is empty.

Events

  Name Description
Public event IsMouseOverChanged
Event raised when the [P:IsMouseOver] property has changed.
Public event ValueChanged
Fires when the Value property changes.

See Also