Skip to main content
Tag

ColumnBase.FieldName Property

Gets the name of the database field assigned to this column. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll

#Declaration

[XtraResetProperty(ResetPropertyMode.None)]
[GridSerializeAlwaysProperty]
[DefaultValue("")]
[XtraSerializableProperty]
public virtual string FieldName { get; set; }

#Property Value

Type Default Description
String

String.Empty

A String value that specifies the name of a data field.

#Remarks

Do not bind multiple columns to the same field in the data base. Only a single column can be bound to a specific field in the database. If you need to create another column bound to the same field, create a new unbound column, set its FieldName property to a unique string. Then, handle the GridControl.CustomUnboundColumnData event to populate this column with the same data as the first column.

To learn more, see Creating Columns and Binding Them to Data Fields.

See Also