DataGridViewComboBoxColumn

Wisej.Web.DataGridViewComboBoxColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.

public class DataGridViewComboBoxColumn : DataGridViewColumn

Constructors

DataGridViewComboBoxColumn()

Initializes a new instance of the DataGridViewComboBoxColumn class to the default state.

DataGridViewComboBoxColumn(cellTemplate)

Initializes a new instance of the DataGridViewComboBoxColumn class to the default state.

Name
Type
Description

cellTemplate

An existing DataGridViewButtonCell to use as a template.

Properties

AutoCompleteMode

AutoCompleteMode: Returns or sets how automatic completion works for the DataGridViewComboBoxColumn.

CellTemplate

DataGridViewCell: Returns or sets the template used to model cell appearance.

Throws:

CharacterCasing

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

DataSource

Objectarrow-up-right: Returns or sets the data source that populates the selections for the combo boxes.

DisplayMember

Stringarrow-up-right: Returns or sets the name of the property or column from which to retrieve the text to display in the combo box cell.

ComboBoxStyle: Returns or sets the drop down style of the combo box.

IconMember

Stringarrow-up-right: Returns or sets the name of the property or column from which to get the icon to use in the drop-down list.

IncrementalSelection

Booleanarrow-up-right: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second.

Items

ObjectCollection: Returns the collection of the items contained in this DataGridViewComboBoxColumn.

Throws:

LazyLoading

Booleanarrow-up-right: Enables or disables lazy loading mode for the ComboBox cell editor control.

MaxInputLength

Int32arrow-up-right: Returns or sets the maximum number of characters that can be entered into the editable part of the combo box control.

Throws:

Sorted

Booleanarrow-up-right: Returns or sets if the items in the combo box editor are automatically sorted.

Throws:

Tools

ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.

ValueMember

Stringarrow-up-right: Returns or sets the name of the property or column from which to get the value that correspond to the selections in the drop-down list.

ValueType

Typearrow-up-right: Returns or sets the data type of the values in the column's cells.

VirtualScroll

Booleanarrow-up-right: Enables or disables virtual scrolling mode for the ComboBox cell editor control.

Watermark

Stringarrow-up-right: Returns or sets the text to show when the textbox is empty.

Implements

Name
Description

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?