NumericUpDownColumn

Represents a column of cells that contain NumericUpDown controls in a DataGridView.

The DataGridViewNumericUpDownColumn class is a specialized type of the DataGridViewColumn class used to logically host cells that display NumericUpDown controls. A DataGridViewNumericUpDownColumn has an associated DataGridViewNumericUpDownCell in every DataGridViewRow that intersects it. Each cell contains a NumericUpDown control.

You can populate the cells manually by setting their Value properties. Alternatively, you can bind the column to the data source indicated by the DataGridView.DataSource property. If the DataGridView is bound to a database table, set the column DataPropertyName property to the name of a column in the table. If the DataGridView is bound to a collection of objects, set the DataPropertyName property to the name of an object property.

For a full list of properties, methods and events see the API documentation.

Last updated