The requested page is not available for the requested platform. You are viewing the content for Default platform.

ColumnBase.UnboundType Property

Gets or sets the data type and binding mode of the column. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

[XtraSerializableProperty]
public UnboundColumnType UnboundType { get; set; }
<XtraSerializableProperty>
Public Property UnboundType As UnboundColumnType

Property Value

Type Default Description
UnboundColumnType

Bound

A UnboundColumnType enumeration value that represents the data type and binding mode of the column.

Remarks

Unbound columns are not bound to any field in the data source. These columns must be populated manually by handling the GridControl.CustomUnboundColumnData event.

To make a column unbound, set its UnboundType property to a UnboundColumnType value that corresponds to the type of data the column will display. For example, if the column is supposed to display integer values, set the UnboundType property to UnboundColumnType.Integer. The data type specified by the UnboundType property, determines which editor should be used by default to edit the column's values.

If the column's UnboundType property is set to UnboundColumnType.Bound, it's assumed that this column is bound to a data field in the data source, specified by the column's ColumnBase.FieldName property.

See Also