DataGridViewNumericUpDownColumn
Wisej.Web.DataGridViewNumericUpDownColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.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.
cellTemplate
An existing DataGridViewNumericUpDownCell to use as a template.
Properties
CellTemplate

DataGridViewCell: Returns or sets the template used to model cell appearance.
Throws:
InvalidOperationException The type is null.
InvalidCastException The set type is not compatible with type DataGridViewNumericUpDownCell.
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:
ArgumentOutOfRangeException The value assigned is less than 0; or the value assigned is greater than 99.
DefaultCellStyle

DataGridViewCellStyle: Returns or sets the column's default cell style.
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:
ArgumentOutOfRangeException The assigned value is not greater than or equal to zero.
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
)
Implements
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?