System.Windows.Forms.NumericUpDown.DecimalPlaces Property

Gets or sets the number of decimal places to display in the spin box (also known as an up-down control).

Syntax

[System.ComponentModel.DefaultValue(0)]
public int DecimalPlaces { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the NumericUpDown.DecimalPlaces property is set, the NumericUpDown.UpdateEditText method is called to update the spin box's display to the new format.

The appropriate decimal symbol is determined by the regional settings of the user's operating system.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0