Gets or sets the name or path of the property that is displayed for each data item.
public string DisplayMemberPath {get; set;}
'Declaration
Public Property DisplayMemberPath As String
'Usage
Dim instance As ListBox
Dim value As String
instance.DisplayMemberPath = value
value = instance.DisplayMemberPath
Property Value
The name or path of the property that is displayed for each data item in the control. The default is an empty string ("").
Target Platforms: Windows 11, Windows 10, Windows 7, 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