DataGridViewComboBoxColumn Class

Represents a combo box column in a DataGridView control.

Namespace: elsystem.windows.forms

Properties

  Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property AutoComplete

bool

True when cells in the column will match the characters being entered in the cell with one from the possible selections.
Public property DisplayStyle

enum

Gets or sets a value that determines how the combo box is displayed when not editing. See DataGridViewComboBoxDisplayStyle for available values.
Public property DisplayStyleForCurrentCellOnly 

bool

True when the DisplayStyle property value applies only to the current cell in this current column.
Public property DropDownWidth

int

Gets or sets the width of the drop-down lists of the combo boxes.
Public property FlatStyle

enum

Gets or sets the flat style appearance of the column's cells. See FlatStyle for available values.
Public property Items

object

Gets the collection of objects used as selections in the combo boxes.
Public property MaxDropDownItems

int

Gets or sets the maximum number of items in the drop-down list of the cells in the column.
Public property Sorted

bool

True if the items in the combo box are sorted.
Methods
  Name Description
Public property Create Initializes a new instance of the class.
Public property Create(text) Initializes a new instance of the class using the specified Text for the column name.