Skip to main content
Version: 3.5

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.

public class DataGridViewTextBoxEditingControl : TextBox, IDataGridViewEditingControl

Constructors

Instance memberDataGridViewTextBoxEditingControl()

Initializes a new instance of DataGridViewTextBoxEditingControl.

Properties

Instance memberDataGridView

DataGridView: Returns or sets the DataGridView that contains the text box control.

Methods

Instance memberApplyCellStyleToEditingControl(style)

Adapts the edit control's properties to be consistent with the specified cell style.

ParameterTypeDescription
styleDataGridViewCellStyleThe DataGridViewCellStyle in effect for the cell entering edit mode.

Instance memberGetEditingControlFormattedValue()

Retrieves the formatted value of the cell.

Returns: String. The formatted version of the cell's value.

Instance memberPrepareEditingControlForEdit(selectAll)

Prepares the currently selected cell for editing.

ParameterTypeDescription
selectAllBooleantrue to select the cell contents; otherwise, false.

Implements

NameDescription
IDataGridViewEditingControlDefines common functionality for controls that are hosted within cells of a DataGridView.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
ILabelProvides access to the LabelWrapper associated with the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IModifiedProvides access to the Modified property and ModifiedChanged event for controls that implement this interface.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.