Skip to main content
Version: 3.5

DataGridViewComboBoxEditingControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a ComboBox control that can be hosted in a DataGridViewComboBoxCell.

public class DataGridViewComboBoxEditingControl : ComboBox, IDataGridViewEditingControl

Constructors

Instance memberDataGridViewComboBoxEditingControl()

Initializes a new instance of the DataGridViewComboBoxEditingControl class.

Properties

Instance memberDataGridView

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

Methods

Instance memberApplyCellStyleToEditingControl(style)

Changes the control's user interface (UI) to be consistent with the specified cell style.

ParameterTypeDescription
styleDataGridViewCellStyleThe DataGridViewCellStyle to use as the model for the UI.

Instance memberGetEditingControlFormattedValue()

Retrieves the formatted value of the cell.

Returns: String. An String that represents the formatted version of the cell contents.

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.