TreeListColumn.UnboundType Property
Specifies whether this column is unbound, and if so, the type of data it stores.
Namespace: DevExpress.XtraTreeList.Columns
Assembly: DevExpress.XtraTreeList.v22.2.dll
NuGet Package: DevExpress.Win.TreeList
Declaration
[DefaultValue(UnboundColumnType.Bound)]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public UnboundColumnType UnboundType { get; set; }
Property Value
Type | Default | Description |
---|---|---|
UnboundColumnType | Bound | A UnboundColumnType value that specifies the column’s data type and binding mode. |
Available values:
Name | Description |
---|---|
Object | Indicates that the column contains values of any type. |
Integer | Indicates that the column contains integer (16, 32, 64), Byte, SByte, or UInt (16, 32, 64) values. |
Decimal | Indicates that the column contains decimal values (the Decimal type). |
DateTime | Indicates that the column contains date-time values (the DateTime type). |
String | Indicates that the column contains string values (the String type). |
Boolean | Indicates that the column contains Boolean values (the Boolean type). |
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. |
Remarks
In v21.1 and higher, the UnboundType property is hidden. Use the TreeListColumn.UnboundDataType property instead to make a column unbound and specify the column’s data type. Compared to the UnboundType property, the TreeListColumn.UnboundDataType property can accept any data type (including previously unavailable TimeSpan and DateTimeOffset).