UserControlComboBoxColumn Class

This data grid view column contains UserControlComboBoxCell objects

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public class UserControlComboBoxColumn : BaseComboBoxColumn
Inheritance
Object    DataGridViewElement    DataGridViewBand    DataGridViewColumn    BaseComboBoxColumn    UserControlComboBoxColumn

Constructors

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
(Inherited from BaseComboBoxColumn)
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
(Inherited from BaseComboBoxColumn)
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
(Inherited from BaseComboBoxColumn)
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
(Inherited from BaseComboBoxColumn)
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.
(Inherited from BaseComboBoxColumn)
DisplayStyle Gets or sets a value that determines how the combo box is displayed when not editing
(Inherited from BaseComboBoxColumn)
DisplayStyleForCurrentCellOnly Get or set whether or not the display style applies only to the current cell
(Inherited from BaseComboBoxColumn)
DividerWidthGets or sets the width, in pixels, of the column divider.
(Inherited from DataGridViewColumn)
DropDownControl The user control type to use for the drop-down
EnforceDefaultSelection This is used to get or set whether or not the combo box should enforce a default selection
(Inherited from BaseComboBoxColumn)
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
(Inherited from BaseComboBoxColumn)
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
(Inherited from BaseComboBoxColumn)
MaxDropDownItems Get the maximum number of items to display in the drop-down by default
(Inherited from BaseComboBoxColumn)
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.
(Inherited from BaseComboBoxColumn)
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.
(Inherited from BaseComboBoxColumn)
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)

Methods

Clone This is used to clone the column
(Overrides BaseComboBoxColumnClone)
DisposeReleases all resources used by the DataGridViewBand.
(Inherited from DataGridViewBand)
Dispose(Boolean)Releases the unmanaged resources used by the DataGridViewBand and optionally releases the managed resources.
(Inherited from DataGridViewColumn)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeReleases the resources associated with the band.
(Inherited from DataGridViewBand)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetPreferredWidthCalculates the ideal width of the column based on the specified criteria.
(Inherited from DataGridViewColumn)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnDataGridViewChangedCalled when the band is associated with a different DataGridView.
(Inherited from DataGridViewBand)
RaiseCellClickRaises the CellClick event.
(Inherited from DataGridViewElement)
RaiseCellContentClickRaises the CellContentClick event.
(Inherited from DataGridViewElement)
RaiseCellContentDoubleClickRaises the CellContentDoubleClick event.
(Inherited from DataGridViewElement)
RaiseCellValueChangedRaises the CellValueChanged event.
(Inherited from DataGridViewElement)
RaiseDataErrorRaises the DataError event.
(Inherited from DataGridViewElement)
RaiseMouseWheelRaises the MouseWheel event.
(Inherited from DataGridViewElement)
ToString Convert the column to its string description
(Overrides DataGridViewColumnToString)

Events

DisposedOccurs when the DataGridViewColumn is disposed.
(Inherited from DataGridViewColumn)

See Also