DataGridViewNumericUpDownColumn
Wisej.Web.DataGridViewNumericUpDownColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
public class DataGridViewNumericUpDownColumn : DataGridViewColumnConstructors
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).
Throws:
ArgumentOutOfRangeException The value assigned is less than 0; or the value assigned is greater than 99.
HideUpDownButtons
Boolean: Returns or sets the visibility of the spinner buttons.
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.
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).
Minimum
Decimal: Returns or sets the minimum allowed value for the spin column (also known as an up-down column).
SortMode
DataGridViewColumnSortMode: Returns or sets the sort mode for the column.
ThousandsSeparator
Boolean: Returns or sets whether a thousands separator is displayed in the spin column (also known as an up-down column) when appropriate.
ValueType
Type: Returns or sets the data type of the values in the column's cells.
Implements
All wisej components implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?

