All pages
Powered by GitBook
1 of 1

Loading...

DataGridViewTextBoxCell

Wisej.Web.DataGridViewTextBoxCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

  • DataGridViewElement

    • DataGridViewCell

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

Constructors

DataGridViewTextBoxCell()

Properties

AcceptsReturn

: Returns or sets whether pressing ENTER in a multiline control creates a new line of text in the control or activates the default button for the form.

AcceptsTab

: Returns or sets whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order.

The property must be true to get a TAB character in the control. If the property is set to true, the user can press SHIFT+TAB to move the focus to the next control in the tab order.

AutoComplete

: Returns or sets whether the browser can auto complete the field with values previously entered by the user.

AutoCompleteList

: Identifies a list of pre-defined options to suggest to the user.

CharacterCasing

: Returns or sets whether the cell editor modifies the case of characters as they are typed.

EditType

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

InputType

: Specifies the type, min, max and step properties to associate to the element.

MaxInputLength

: Returns or sets the maximum number of characters that can be entered into the cell editor.

Throws:

  • The value is less than 0.

Multiline

: Returns or sets whether this is a multiline text box control.

Throws:

  • The property cannot be modified after the component has been created.

ValueType

: Returns or sets the data type of the value in the cell.

Watermark

: Returns or sets the text to show when the textbox is empty.

Methods

InitializeEditingControl(editor, style)

Initializes the control used to edit the cell.

Parameter
Type
Description

Throws:

  • editor is null.

ResetInputType()

Resets the property.

editor

Control

The Control that is used to edit the cell.

style

DataGridViewCellStyle

The DataGridViewCellStyle that is in effect for the cell entering edit mode.

DataGridViewTextBoxCell
TextBox
DataGridViewCell
Public Class DataGridViewTextBoxCell
    Inherits DataGridViewCell
Boolean
TextBox
Boolean
Multiline
AcceptsTab
AutoComplete
String[]
CharacterCasing
Type
InputType
Int32
ArgumentOutOfRangeException
Boolean
ArgumentException
Type
String
ArgumentNullException
InputType
public class DataGridViewTextBoxCell : DataGridViewCell