Back to Devexpress

RowProperties.UnboundType Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-rowproperties-580c0ca4.md

latest4.0 KB
Original Source

RowProperties.UnboundType Property

Specifies whether this row is unbound, and if so, the type of data it stores.

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
[DefaultValue(UnboundColumnType.Bound)]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public virtual UnboundColumnType UnboundType { get; set; }
vb
<DefaultValue(UnboundColumnType.Bound)>
<XtraSerializableProperty>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property UnboundType As UnboundColumnType

Property Value

TypeDefaultDescription
UnboundColumnTypeBound

A UnboundColumnType enumeration value that specifies the row’s data type and binding mode.

|

Available values:

NameDescription
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

In v21.1 and higher, the UnboundType property is hidden. Use the RowProperties.UnboundDataType property instead to make a row unbound and specify the row’s data type. Compared to the UnboundType property, the RowProperties.UnboundDataType property can accept any data type (including previously unavailable TimeSpan and DateTimeOffset ).

See Also

UnboundDataType

CustomUnboundData

ShowUnboundExpressionMenu

ShowUnboundExpressionEditor(RowProperties)

Unbound Rows

RowProperties Class

RowProperties Members

DevExpress.XtraVerticalGrid.Rows Namespace