BaseComboBoxColumn Properties

Properties

AutoSizeModeGets or sets the mode by which the column automatically adjusts its width.
(Inherited from DataGridViewColumn)
CellTemplate Gets or sets the template used to create new cells
(Overrides DataGridViewColumnCellTemplate)
CellTypeGets the run-time type of the cell template.
(Inherited from DataGridViewColumn)
ComboBoxCellTemplate This is used internally to get a reference to the cell template as the actual type
ContextMenuStripGets or sets the shortcut menu for the column.
(Inherited from DataGridViewColumn)
DataGridViewGets the DataGridView control associated with this element.
(Inherited from DataGridViewElement)
DataPropertyNameGets or sets the name of the data source property or database column to which the DataGridViewColumn is bound.
(Inherited from DataGridViewColumn)
DataSource Gets or sets the data source that populates the selections for the combo boxes
DefaultCellStyleGets or sets the column's default cell style.
(Inherited from DataGridViewColumn)
DefaultHeaderCellTypeGets or sets the run-time type of the default header cell.
(Inherited from DataGridViewBand)
DefaultSelection This property is used to set or get the default selection's index
DisplayedGets a value indicating whether the band is currently displayed onscreen.
(Inherited from DataGridViewBand)
DisplayIndexGets or sets the display order of the column relative to the currently displayed columns.
(Inherited from DataGridViewColumn)
DisplayMember Gets or sets a string that specifies the property or column from which to retrieve strings for display in the combo boxes.
DisplayStyle Gets or sets a value that determines how the combo box is displayed when not editing
DisplayStyleForCurrentCellOnly Get or set whether or not the display style applies only to the current cell
DividerWidthGets or sets the width, in pixels, of the column divider.
(Inherited from DataGridViewColumn)
EnforceDefaultSelection This is used to get or set whether or not the combo box should enforce a default selection
FillWeightGets or sets a value that represents the width of the column when it is in fill mode relative to the widths of other fill-mode columns in the control.
(Inherited from DataGridViewColumn)
FlatStyle Get or set the flat style appearance of the cells
FrozenGets or sets a value indicating whether a column will move when a user scrolls the DataGridView control horizontally.
(Inherited from DataGridViewColumn)
HasDefaultCellStyleGets a value indicating whether the DefaultCellStyle property has been set.
(Inherited from DataGridViewBand)
HeaderCellGets or sets the DataGridViewColumnHeaderCell that represents the column header.
(Inherited from DataGridViewColumn)
HeaderCellCoreGets or sets the header cell of the DataGridViewBand.
(Inherited from DataGridViewBand)
HeaderTextGets or sets the caption text on the column's header cell.
(Inherited from DataGridViewColumn)
IndexGets the relative position of the band within the DataGridView control.
(Inherited from DataGridViewBand)
InheritedAutoSizeModeGets the sizing mode in effect for the column.
(Inherited from DataGridViewColumn)
InheritedStyleGets the cell style currently applied to the column.
(Inherited from DataGridViewColumn)
IsDataBoundGets a value indicating whether the column is bound to a data source.
(Inherited from DataGridViewColumn)
IsRowGets a value indicating whether the band represents a row.
(Inherited from DataGridViewBand)
Items Gets the collection of objects used as selections in the combo boxes
MaxDropDownItems Get the maximum number of items to display in the drop-down by default
MinimumWidthGets or sets the minimum width, in pixels, of the column.
(Inherited from DataGridViewColumn)
NameGets or sets the name of the column.
(Inherited from DataGridViewColumn)
ReadOnlyGets or sets a value indicating whether the user can edit the column's cells.
(Inherited from DataGridViewColumn)
ResizableGets or sets a value indicating whether the column is resizable.
(Inherited from DataGridViewColumn)
SelectedGets or sets a value indicating whether the band is in a selected user interface (UI) state.
(Inherited from DataGridViewBand)
SiteGets or sets the site of the column.
(Inherited from DataGridViewColumn)
SortModeGets or sets the sort mode for the column.
(Inherited from DataGridViewColumn)
SortOrder Gets or sets a value indicating whether the items in the list control are sorted and, if so, in what order.
StateGets the user interface (UI) state of the element.
(Inherited from DataGridViewElement)
TagGets or sets the object that contains data to associate with the band.
(Inherited from DataGridViewBand)
ToolTipTextGets or sets the text used for ToolTips.
(Inherited from DataGridViewColumn)
ValueMember Gets or sets a string that specifies the property or column from which to get values that correspond to the selections in the drop-down list.
ValueTypeGets or sets the data type of the values in the column's cells.
(Inherited from DataGridViewColumn)
VisibleGets or sets a value indicating whether the column is visible.
(Inherited from DataGridViewColumn)
WidthGets or sets the current width of the column.
(Inherited from DataGridViewColumn)

See Also