WinForms › Tree List View › BinaryTreeListViewComboBoxCell
BinaryTreeListViewComboBoxCell
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.TreeControls
A specialised cell type that uses Binarymission's BinaryComboBox (including its multi-column mode) control as its cell editor.
public class BinaryTreeListViewComboBoxCell : DataGridViewComboBoxCell
Inherits from / implements: DataGridViewComboBoxCell
Members at a glance
BinaryTreeListViewComboBoxCell | Initializes a new instance of the BinaryTreeListViewComboBoxCell class. |
DefaultNewRowValue | Gets the value this cell starts with on the grid's new-row placeholder. |
DropStyleIsMultiColumn | Gets or sets whether the drop style of the combobox cell is multicolumn or single column. |
EditType | Gets the type of the control this cell uses for editing. |
InitializeEditingControl | Prepares the editing control that this cell hands to the grid, pushing the cell's own settings onto it before editing starts. |
Constructors
BinaryTreeListViewComboBoxCell
public BinaryTreeListViewComboBoxCell() : base()
Initializes a new instance of the BinaryTreeListViewComboBoxCell class.
Properties
DefaultNewRowValue
public override object DefaultNewRowValue
Gets the value this cell starts with on the grid's new-row placeholder.
DropStyleIsMultiColumn
public bool DropStyleIsMultiColumn
Gets or sets whether the drop style of the combobox cell is multicolumn or single column.
EditType
public override Type EditType
Gets the type of the control this cell uses for editing.
Methods
InitializeEditingControl
public override void InitializeEditingControl(int rowIndex, object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle)
Prepares the editing control that this cell hands to the grid, pushing the cell's own settings onto it before editing starts.