Skip to main content
Version: 4.1

DataGridViewNumericUpDownCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Displays an editable NumericUpDown control in a DataGridViewCell cell when in edit mode.

public class DataGridViewNumericUpDownCell : DataGridViewCell

Constructors​

Instance member DataGridViewNumericUpDownCell()​

Initializes a new instance of DataGridViewNumericUpDownCell.

Properties​

Instance member CellRenderer​

String: Returns the name of the cell renderer to use on the client side to render the cell. If it's null or empty it defaults to "Cell".

The name of the cell renderer can be a fully qualified class name (i.e. "wisej.web.datagrid.cellRenderer.Cell") or just the class name (i.e. "ImageCell") in which case the client library prepends "wisej.web.datagrid.cellRenderer".

Instance member DecimalPlaces​

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

Value: The number of decimal places to display in the spin column. The default is 0.

Throws:

Instance member EditType​

Type: Returns the type of the cell's hosted editing control.

Value: A Type representing the DataGridViewNumericUpDownEditingControl type.

Instance member HideUpDownButtons​

Boolean: Returns or sets the visibility of the spinner buttons.

Instance member Increment​

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

Value: The value to increment or decrement the Value property when the up or down buttons are clicked on the spin column. The default value is 1.

Throws:

Instance member Maximum​

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

Value: The maximum value for the spin column. The default value is 100.

Instance member Minimum​

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

Value: The minimum allowed value for the spin column. The default value is 0.

Instance member ThousandsSeparator​

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

Value: true if a thousands separator is displayed in the spin column when appropriate; otherwise, false. The default value is false.

Instance member ValueType​

Type: Returns or sets the data type of the values in the cell.

Value: A Type representing the data type of the value in the cell.

Methods​

Instance member InitializeEditingControl(editor, style)​

Initializes the control used to edit the cell.

ParameterTypeDescription
editorControlThe Control that is used to edit the cell.
styleDataGridViewCellStyleThe DataGridViewCellStyle that is in effect for the cell entering edit mode.

Throws:

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
ICommandSourceDefines an object that can invoke a Command.