Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataGridViewComboBoxCell Properties

The DataGridViewComboBoxCell type exposes the following members.

  Name Description
Public property AccessibilityObject Gets the DataGridViewCell.DataGridViewCellAccessibleObject assigned to the DataGridViewCell. (Inherited from DataGridViewCell.)
Public property AutoComplete Gets or sets a value indicating whether the cell will match the characters being entered in the cell with a selection from the drop-down list.
Public property ColumnIndex Gets the column index for this cell. (Inherited from DataGridViewCell.)
Public property ContentBounds Gets the bounding rectangle that encloses the cell's content area. (Inherited from DataGridViewCell.)
Public property ContextMenuStrip Gets or sets the shortcut menu associated with the cell. (Inherited from DataGridViewCell.)
Public property DataGridView Gets the DataGridView control associated with this element. (Inherited from DataGridViewElement.)
Public property DataSource Gets or sets the data source whose data contains the possible selections shown in the drop-down list.
Public property DefaultNewRowValue Gets the default value for a cell in the row for new records. (Inherited from DataGridViewCell.)
Public property Displayed Gets a value that indicates whether the cell is currently displayed on-screen. (Inherited from DataGridViewCell.)
Public property DisplayMember Gets or sets a string that specifies where to gather selections to display in the drop-down list.
Public property DisplayStyle Gets or sets a value that determines how the combo box is displayed when it is not in edit mode.
Public property DisplayStyleForCurrentCellOnly Gets or sets a value indicating whether the DisplayStyle property value applies to the cell only when it is the current cell in the DataGridView control.
Public property DropDownWidth Gets or sets the width of the of the drop-down list portion of a combo box.
Public property EditedFormattedValue Gets the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed. (Inherited from DataGridViewCell.)
Public property EditType Gets the type of the cell's hosted editing control. (Overrides DataGridViewCell.EditType.)
Public property ErrorIconBounds Gets the bounds of the error icon for the cell. (Inherited from DataGridViewCell.)
Public property ErrorText Gets or sets the text describing an error condition associated with the cell. (Inherited from DataGridViewCell.)
Public property FlatStyle Gets or sets the flat style appearance of the cell.
Public property FormattedValue Gets the value of the cell as formatted for display. (Inherited from DataGridViewCell.)
Public property FormattedValueType Gets the class type of the formatted value associated with the cell. (Overrides DataGridViewCell.FormattedValueType.)
Public property Frozen Gets a value indicating whether the cell is frozen. (Inherited from DataGridViewCell.)
Public property HasStyle Gets a value indicating whether the Style property has been set. (Inherited from DataGridViewCell.)
Public property InheritedState Gets the current state of the cell as inherited from the state of its row and column. (Inherited from DataGridViewCell.)
Public property InheritedStyle Gets the style currently applied to the cell. (Inherited from DataGridViewCell.)
Public property IsInEditMode Gets a value indicating whether this cell is currently being edited. (Inherited from DataGridViewCell.)
Public property Items Gets the objects that represent the selection displayed in the drop-down list.
Public property MaxDropDownItems Gets or sets the maximum number of items shown in the drop-down list.
Public property OwningColumn Gets the column that contains this cell. (Inherited from DataGridViewCell.)
Public property OwningRow Gets the row that contains this cell. (Inherited from DataGridViewCell.)
Public property PreferredSize Gets the size, in pixels, of a rectangular area into which the cell can fit. (Inherited from DataGridViewCell.)
Public property ReadOnly Gets or sets a value indicating whether the cell's data can be edited. (Inherited from DataGridViewCell.)
Public property Resizable Gets a value indicating whether the cell can be resized. (Inherited from DataGridViewCell.)
Public property RowIndex Gets the index of the cell's parent row. (Inherited from DataGridViewCell.)
Public property Selected Gets or sets a value indicating whether the cell has been selected. (Inherited from DataGridViewCell.)
Public property Size Gets the size of the cell. (Inherited from DataGridViewCell.)
Public property Sorted Gets or sets a value indicating whether the items in the combo box are automatically sorted.
Public property State Gets the user interface (UI) state of the element. (Inherited from DataGridViewElement.)
Public property Style Gets or sets the style for the cell. (Inherited from DataGridViewCell.)
Public property Tag Gets or sets the object that contains supplemental data about the cell. (Inherited from DataGridViewCell.)
Public property ToolTipText Gets or sets the ToolTip text associated with this cell. (Inherited from DataGridViewCell.)
Public property Value Gets or sets the value associated with this cell. (Inherited from DataGridViewCell.)
Public property ValueMember Gets or sets a string that specifies where to gather the underlying values used in the drop-down list.
Public property ValueType Gets or sets the data type of the values in the cell. (Overrides DataGridViewCell.ValueType.)
Public property Visible Gets a value indicating whether the cell is in a row or column that has been hidden. (Inherited from DataGridViewCell.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.