Version

ItemMemberProvider Property

Specifies an interface that the ComboBoxItemsProvider will use to get value and display text for each data item in its items source.
Syntax
'Declaration
 
Public Property ItemMemberProvider As IItemMemberProvider
public IItemMemberProvider ItemMemberProvider {get; set;}
Remarks

Note that you don't normally have to provide this interface. The ComboBoxItemsProvider has default logic to get the value and display text for each item based on the ValuePath and DisplayMemberPath properties. However you can provide this interface if you have custom logic for generating value and display texts or to improve performance when you have a large number of data items in the items source, since the default logic involves using reflection to evaluate value and display member paths. Note that if you use ComboBoxDataItem objects as data items then this property will be ignored since such an interface is not necessary in that case.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also