DataGridViewNumericUpDownColumn

Wisej.Web.DataGridViewNumericUpDownColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.1.0.0)

Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.

public class DataGridViewNumericUpDownColumn : DataGridViewColumn

Constructors

DataGridViewNumericUpDownColumn()

Initializes a new instance of the DataGridViewNumericUpDownColumn class to the default state.

DataGridViewNumericUpDownColumn(cellTemplate)

Initializes a new instance of the DataGridViewNumericUpDownColumn class to the default state.

NameTypeDescription

cellTemplate

An existing DataGridViewNumericUpDownCell to use as a template.

Properties

CellTemplate

DataGridViewCell: Returns or sets the template used to model cell appearance.

Throws:

DecimalPlaces

Int32: Returns or sets the number of decimal places to display in the spin column (also known as an up-down column). (Default: 0)

Throws:

HideUpDownButtons

Boolean: Returns or sets the visibility of the spinner buttons. (Default: False)

Increment

Decimal: Returns or sets the value to increment or decrement the spin box (also known as an up-down control) when the up or down buttons are clicked. (Default: 1)

Throws:

Maximum

Decimal: Returns or sets the maximum value for the spin column (also known as an up-down column). (Default: 100)

Minimum

Decimal: Returns or sets the minimum allowed value for the spin column (also known as an up-down column). (Default: 0)

ThousandsSeparator

Boolean: Returns or sets whether a thousands separator is displayed in the spin column (also known as an up-down column) when appropriate. (Default: False)

ValueType

Type: Returns or sets the data type of the values in the column's cells.

Implements

NameDescription

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated