Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / ListBox Class / DisplayMemberPath Property


In This Topic
    DisplayMemberPath Property (ListBox)
    In This Topic
    Gets or sets the name or path of the property that is displayed for each data item.
    Syntax
    'Declaration
     
    Public Property DisplayMemberPath As String
    'Usage
     
    Dim instance As ListBox
    Dim value As String
     
    instance.DisplayMemberPath = value
     
    value = instance.DisplayMemberPath
    public string DisplayMemberPath {get; set;}

    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 ("").
    Requirements

    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

    See Also