Multi Column Combo Box ColumnColumn Filter Property
This gets the StringCollection used to filter the columns displayed by the drop-down
portion of the combo box.
Definition
Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
This is a quick way to filter the drop-down to a specific set of columns without having to specify column definitions. If empty, no filtering takes place.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public StringCollection ColumnFilter { get; }VB
Public ReadOnly Property ColumnFilter As StringCollection
GetC++
public:
property StringCollection^ ColumnFilter {
StringCollection^ get ();
}F#
member ColumnFilter : StringCollection with getProperty Value
StringCollectionThis is a quick way to filter the drop-down to a specific set of columns without having to specify column definitions. If empty, no filtering takes place.
Example
C#
cbocVendor.DisplayMember = "VendorName";
cbocVendor.ValueMember = "VendorKey";
cbocVendor.ColumnFilter.AddRange(new string[] { "VendorName", "Contact" });
cbocVendor.DataSource = GetVendors();VB
cbocVendor.DisplayMember = "VendorName"
cbocVendor.ValueMember = "VendorKey"
cbocVendor.ColumnFilter.AddRange(New String() { "VendorName", "Contact" })
cbocVendor.DataSource = GetVendors()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.