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
 
<EditorAttribute("System.Windows.Forms.Design.DataMemberFieldEditor, System.Design", "System.Drawing.Design.UITypeEditor, System.Drawing")>
<CategoryAttribute("Data")>
<TypeConverterAttribute("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design")>
<DescriptionAttribute("Indicates the property to display for the items in this control.")>
<NotifyParentPropertyAttribute(True)>
Public Property DisplayMember As String
'Usage
 
Dim instance As GridStyleInfo
Dim value As String
 
instance.DisplayMember = value
 
value = instance.DisplayMember
[Editor("System.Windows.Forms.Design.DataMemberFieldEditor, System.Design", "System.Drawing.Design.UITypeEditor, System.Drawing")]
[Category("Data")]
[TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design")]
[Description("Indicates the property to display for the items in this control.")]
[NotifyParentProperty(true)]
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.3460.0.26

See Also