[]
        
(Showing Draft Content)

NumericBox Elements

NumericBox for WPF includes the C1NumericBox control, a simple control which provides numeric input and editing. When you add the C1NumericBox control to a XAML window, it exists as a completely functional numeric editor. By default, the control's interface looks similar to the following image:

It consists of the following elements:

  • Up and Down Buttons

The Up and Down buttons allow users to change the value displayed in the control. Each time a button is clicked the Value changes by the amount indicated by the Increment property (by default 1). By default the Up and Down buttons are visible; to hide the buttons set the ShowButtons property to False.

  • Number Display/Edit Area

The current Value is displayed in the number display/editing area. Users can type in the box to change the Value property. By default users can edit this number; to lock the control from editing set IsReadOnly to True.

See Also

Setting Values

Setting the Font Type and Size

Hiding the Up and Down Buttons

Locking Control from Editing