DataGridViewNumericUpDownColumn
Wisej.Web.DataGridViewNumericUpDownColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
Constructors
DataGridViewNumericUpDownColumn()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Initializes a new instance of the DataGridViewNumericUpDownColumn class to the default state.
DataGridViewNumericUpDownColumn(cellTemplate)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Initializes a new instance of the DataGridViewNumericUpDownColumn class to the default state.
Name | Type | Description |
---|---|---|
cellTemplate | An existing DataGridViewNumericUpDownCell to use as a template. |
Properties
CellTemplate
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
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
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
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.
HideUpDownButtons
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Boolean: Returns or sets the visibility of the spinner buttons. (Default: False
)
Increment
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
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
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Decimal: Returns or sets the maximum value for the spin column (also known as an up-down column). (Default: 100
)
Minimum
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Decimal: Returns or sets the minimum allowed value for the spin column (also known as an up-down column). (Default: 0
)
ThousandsSeparator
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
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
Name | Description |
---|---|
All wisej components implement this interface. | |
Allows an object to serialize itself. |
Last updated