ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ListBox<T> Class / DisplayMemberPath Property






In This Topic
    DisplayMemberPath Property (ListBox<T>)
    In This Topic
    Gets or sets the name of the property to use as the visual representation of the items.
    Syntax
    'Declaration
     
    
    Public Property DisplayMemberPath As System.String
    'Usage
     
    
    Dim instance As ListBox(Of T)
    Dim value As System.String
     
    instance.DisplayMemberPath = value
     
    value = instance.DisplayMemberPath
    public System.string DisplayMemberPath {get; set;}
    public read-write property DisplayMemberPath: System.String; 
    public function get,set DisplayMemberPath : System.String
    public: __property System.string* get_DisplayMemberPath();
    public: __property void set_DisplayMemberPath( 
       System.string* value
    );
    public:
    property System.String^ DisplayMemberPath {
       System.String^ get();
       void set (    System.String^ value);
    }
    See Also