DataGridViewTextBoxColumn
Wisej.Web.DataGridViewTextBoxColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
public class DataGridViewTextBoxColumn : DataGridViewColumnConstructors
DataGridViewTextBoxColumn()
Initializes a new instance of the DataGridViewTextBoxColumn class.
DataGridViewTextBoxColumn(cellTemplate)
Initializes a new instance of the DataGridViewTextBoxColumn class.
Properties
AcceptsReturn
Boolean: Returns or sets whether pressing ENTER in a multiline TextBox control creates a new line of text in the control or activates the default button for the form.
AcceptsTab
Boolean: 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 Multiline property must be true to get a TAB character in the control. If the AcceptsTab property is set to true, the user can press SHIFT+TAB to move the focus to the next control in the tab order.
AutoComplete
AutoComplete: Returns of sets whether the browser can auto complete the field with values previously entered by the user.
AutoCompleteList
String[]: Identifies a list of pre-defined options to suggest to the user.
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 DataGridViewTextBoxCell.
CharacterCasing
CharacterCasing: Returns or sets whether the cell editor modifies the case of characters as they are typed.
InputType
InputType: Specifies the type, min, max and step properties to associate to the element of the cell editor control.
MaxInputLength
Int32: Returns or sets the maximum number of characters that can be entered into the text box.
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
InvalidOperationException The value of the CellTemplate property is null.
Multiline
Boolean: Returns or sets whether this is a multiline text box control.
Throws:
ArgumentException The property cannot be modified after the component has been created.
SortMode
DataGridViewColumnSortMode: Returns or sets the sort mode for the column.
Tools
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
ValueType
Type: Returns or sets the data type of the values in the column's cells.
Watermark
String: Returns or sets the text to show when the textbox is empty.
Implements
All wisej components implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?

