A newer version of this page is available. Switch to the current version.

ColumnBase.DisplayMemberBinding Property

Obsolete. Gets or sets the binding that associates the column with a property in the data source.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


[Obsolete("Use the Binding property instead")]
public BindingBase DisplayMemberBinding { get; set; }
<Obsolete("Use the Binding property instead")>
Public Property DisplayMemberBinding As BindingBase

Property Value

Type Default Description


A BindingBase object representing the data binding for the column.


The DisplayMemberBinding property allows a column to specify a property of the grid control's DataControlBase.ItemsSource to bind to. Note that the data source should implement INotifyPropertyChanged to notify the grid control that a property value has changed.


When working with data structures that contain Dynamic Objects, use the DisplayMemberBinding property instead of ColumnBase.FieldName.


<dxg:GridControl x:Name="grid">
                <dxg:GridColumn Header="Id" DisplayMemberBinding="{Binding Path=RowData.Row.Id, Mode=TwoWay}"/>
                <dxg:GridColumn Header="First Name" DisplayMemberBinding="{Binding Path=RowData.Row.FirstName, Mode=TwoWay}"/>
                <dxg:GridColumn Header="Last Name" DisplayMemberBinding="{Binding Path=RowData.Row.LastName, Mode=TwoWay}"/>
                <dxg:TableView Name="View"  ShowAutoFilterRow="True" NewItemRowPosition="Top" AllowPerPixelScrolling="True"/>
See Also