# NumericBox Elements

## Content



**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:

![](https://cdn.mescius.io/document-site-files/images/47c7dd3c-b586-44f5-903c-f615f88e343f/images/numericbox/numericboxelements.png)

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](/componentone/api/wpf/online-input-net/dotnet-api/C1.WPF.Input/C1.WPF.Input.C1NumericBox.Increment.html) property (by default 1). By default the **Up** and **Down** buttons are visible; to hide the buttons set the [ShowButtons](/componentone/api/wpf/online-input-net/dotnet-api/C1.WPF.Input/C1.WPF.Input.C1NumericBox.ShowButtons.html) 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](/componentone/api/wpf/online-input-net/dotnet-api/C1.WPF.Input/C1.WPF.Input.C1NumericBox.Value.html) property. By default users can edit this number; to lock the control from editing set **IsReadOnly** to **True**.

## See Also

[Setting Values](/componentone/docs/wpf/online-input-net/overview/numericbox/work-with-numericbox/SettingValues)

[Setting the Font Type and Size](/componentone/docs/wpf/online-input-net/overview/numericbox/work-with-numericbox/SettingFontTypeSize)

[Hiding the Up and Down Buttons](/componentone/docs/wpf/online-input-net/overview/numericbox/work-with-numericbox/Hiding)

[Locking Control from Editing](/componentone/docs/wpf/online-input-net/overview/numericbox/work-with-numericbox/LockingControl)