ColumnBase.UnboundType Property
Gets or sets the column’s data type and binding mode. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v26.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
[Browsable(false)]
[DefaultValue(UnboundColumnType.Bound)]
public UnboundColumnType UnboundType { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| UnboundColumnType | Bound | The column’s data type and binding mode. |
Available values:
| Name | Description |
|---|---|
| Bound | Indicates that the column is bound to a field in the control’s underlying data source. The type of data this column contains is determined by the bound field. |
| Integer | Indicates that the column is unbound and it contains integer values (the Int32 type). |
| Decimal | Indicates that the column is unbound and it contains decimal values (the Decimal type). |
| DateTime | Indicates that the column is unbound and it contains date/time values (the DateTime type). |
| String | Indicates that the column is unbound and it contains string values (the String type). |
| Boolean | Indicates that the column is unbound and it contains Boolean values (the Boolean type). |
| Object | Indicates that the column is unbound and it contains values of any type. A TextEdit editor is assigned for the in-place editing of such a column. |
Remarks
Note
This property is obsolete. Use the ColumnBase.UnboundDataType property instead to make a column unbound and specify the column’s data type.
Refer to the following help topic for more information: Unbound Columns.