User Control Combo Box ColumnDrop Down Control Property
The user control type to use for the drop-down
Definition
Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public Type? DropDownControl { get; set; }VB
Public Property DropDownControl As Type
Get
SetC++
public:
property Type^ DropDownControl {
Type^ get ();
void set (Type^ value);
}F#
member DropDownControl : Type with get, setProperty Value
TypeRemarks
This property must be set in order for the drop-down to be of any use
Example
C#
// TreeViewDropDown is a user control derived from DropDownControl
ucCombo.DropDownControl = typeof(TreeViewDropDown);VB
' TreeViewDropDown is a user control derived from DropDownControl
ucCombo.DropDownControl = GetType(TreeViewDropDown)C++
No code example is currently available or this language may not be supported.F#
No code example is currently available or this language may not be supported.Exceptions
| ArgumentException | This is thrown if the specified type is not derived from DropDownControl. |