Class DataGridViewExComboBoxColumn
- Namespace
- ExControls
- Assembly
- ExControls.dll
DataGridView column of DataGridViewExComboBoxCell cells, which can be drawn in the custom style like ExComboBox.
public class DataGridViewExComboBoxColumn : DataGridViewComboBoxColumn, ICloneable, IComponent, IDisposable, IThemeable
- Inheritance
-
DataGridViewExComboBoxColumn
- Implements
- Inherited Members
Constructors
DataGridViewExComboBoxColumn()
Initializes a new instance of the DataGridViewExComboBoxColumn class with cells in the default style.
public DataGridViewExComboBoxColumn()
Properties
CellTemplate
Gets or sets the template used to create cells.
public override sealed DataGridViewCell? CellTemplate { get; set; }
Property Value
- DataGridViewCell
A DataGridViewCell that all other cells in the column are modeled after. The default value is a new DataGridViewComboBoxCell.
Exceptions
- InvalidCastException
When setting this property to a value that is not of type DataGridViewComboBoxCell.
DefaultStyle
Default style of the Control
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public bool DefaultStyle { get; set; }
Property Value
DropDownBackColor
Background color of the drop down menu.
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color DropDownBackColor { get; set; }
Property Value
DropDownSelectedBackColor
Color of the selected row in drop down menu
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color DropDownSelectedBackColor { get; set; }
Property Value
StyleDisabled
Disabled style of the Control (when control is not Enabled).
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public ExComboBoxStyle StyleDisabled { get; set; }
Property Value
StyleHighlight
Highlight style of the Control (when mouse is over control).
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public ExComboBoxStyle StyleHighlight { get; set; }
Property Value
StyleNormal
Normal style of the Control (when is inactive).
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public ExComboBoxStyle StyleNormal { get; set; }
Property Value
StyleSelected
Selected style of the Control (when control is selected).
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public ExComboBoxStyle StyleSelected { get; set; }
Property Value
Methods
ApplyTheme(ExTheme)
Sets the colors and appearance of the control by the theme.
public void ApplyTheme(ExTheme theme)
Parameters
themeExTheme