Version

DisplayMemberPath Property (ComboBoxItemsProvider)

Specifies the path into the selected item from which to get the text. The Text and DisplayText properties will return values from this path.
Syntax
'Declaration
 
Public Property DisplayMemberPath As String
public string DisplayMemberPath {get; set;}
Remarks

DisplayMemberPath specifies the list object property to use to get the text for the editor. When an item is selected from the drop-down, the SelectedItem property returns the item itself. The Text and DisplayText properties return the value of the property specified by DisplayMemberPath from that selected item.

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