Syncfusion.Grid.Windows


DisplayMember Property (GridStyleInfo)

Gets or sets the Name the property in the DataSource that holds the text to be displayed in a cell that depends on a ValueMember.
Syntax
'Declaration
 
<TypeConverterAttribute("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design")>
<NotifyParentPropertyAttribute(True)>
<CategoryAttribute("Data")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing", EditorTypeName="System.Windows.Forms.Design.DataMemberFieldEditor, System.Design")>
<DescriptionAttribute("Indicates the property to display for the items in this control.")>
Public Property DisplayMember As String
'Usage
 
Dim instance As GridStyleInfo
Dim value As String
 
instance.DisplayMember = value
 
value = instance.DisplayMember
[TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design")]
[NotifyParentProperty(true)]
[Category("Data")]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing", EditorTypeName="System.Windows.Forms.Design.DataMemberFieldEditor, System.Design")]
[Description("Indicates the property to display for the items in this control.")]
public string DisplayMember {get; set;}
Remarks

The default value for the DisplayMember property is String.Empty.

The property affects the behavior or appearance of the following cell types:

AssemblyVersion

Syncfusion.Grid.Windows: 17.1460.0.47

See Also