System.Windows.Forms.ListControl.DisplayMember Property

Gets or sets the property to display for this System.Windows.Forms.ListControl.


[System.ComponentModel.TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.Editor("System.Windows.Forms.Design.DataMemberFieldEditor, System.Design, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))]
public string DisplayMember { set; get; }


Documentation for this section has not yet been entered.


The controls that inherit from System.Windows.Forms.ListControl can display diverse types of objects. If the specified property does not exist on the object or the value of ListControl.DisplayMember is an empty string (""), the results of the object's ToString method are displayed instead.

If the new display member cannot be set, the previous display member setting is maintained.


Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0,