DataGridViewTextBoxEditingControl
Wisej.Web.DataGridViewTextBoxEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a TextBox control that can be hosted in a DataGridViewTextBoxCell cell when the cell's WrapMode is set to False.
Constructors
DataGridViewTextBoxEditingControl()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2194374196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVxzkjZGSCpOtYHlmOePS%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=70041fd7&sv=1)
Initializes a new instance of DataGridViewTextBoxEditingControl.
Properties
DataGridView
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2194374196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVxzkjZGSCpOtYHlmOePS%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=70041fd7&sv=1)
DataGridView: Returns or sets the DataGridView that contains the text box control.
Methods
ApplyCellStyleToEditingControl(style)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2194374196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVxzkjZGSCpOtYHlmOePS%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=70041fd7&sv=1)
Adapts the edit control's properties to be consistent with the specified cell style.
Parameter | Type | Description |
---|---|---|
style | The DataGridViewCellStyle in effect for the cell entering edit mode. |
GetEditingControlFormattedValue()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2194374196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVxzkjZGSCpOtYHlmOePS%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=70041fd7&sv=1)
Retrieves the formatted value of the cell.
Returns: String. The formatted version of the cell's value.
PrepareEditingControlForEdit(selectAll)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2194374196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVxzkjZGSCpOtYHlmOePS%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=70041fd7&sv=1)
Prepares the currently selected cell for editing.
Parameter | Type | Description |
---|---|---|
selectAll | true to select the cell contents; otherwise, false. |
Implements
Name | Description |
---|---|
Defines common functionality for controls that are hosted within cells of a DataGridView. | |
Bindable components implement this interface. | |
Controls that support drag & drop operations implement this interface. | |
Provides access to the LabelWrapper associated with the controls that implement this interface. | |
Provides access to the ReadOnly property for coontrols that support the read-only mode. | |
Provides access to the Modified property and ModifiedChanged event for controls that implement this interface. | |
Provides access to the validation events and properties property for controls that support validation. | |
All wisej components implement this interface. | |
All wisej controls derived from the Control class must implement this interface. | |
Allows an object to serialize itself. |
Last updated