MultiColumnComboBoxColumnColumnFilter Property
This gets the
StringCollection used to filter the columns displayed by the drop-down
portion of the combo box.
Namespace: EWSoftware.ListControls.DataGridViewControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public StringCollection ColumnFilter { get; }
Public ReadOnly Property ColumnFilter As StringCollection
Get
public:
property StringCollection^ ColumnFilter {
StringCollection^ get ();
}
member ColumnFilter : StringCollection with get
Property 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.
cbocVendor.DisplayMember = "VendorName";
cbocVendor.ValueMember = "VendorKey";
cbocVendor.ColumnFilter.AddRange(new string[] { "VendorName", "Contact" });
cbocVendor.DataSource = GetVendors();
cbocVendor.DisplayMember = "VendorName"
cbocVendor.ValueMember = "VendorKey"
cbocVendor.ColumnFilter.AddRange(New String() { "VendorName", "Contact" })
cbocVendor.DataSource = GetVendors()
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.