Skip to main content

CardViewColumn.UnboundExpression Property

Gets or sets an expression used to evaluate values for the current unbound column.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public virtual string UnboundExpression { get; set; }

Property Value

Type Default Description
String String.Empty

A string that specifies an expression used to evaluate values for the current column.


You can create an unbound column by setting the CardViewColumn.UnboundType property to a specific data type. Unbound columns can be populated manually via the ASPxCardView.CustomUnboundColumnData event, or by specifying an expression via the UnboundExpression used to evaluate values for this field. The Expressions section describes the syntax for creating expressions.

Using expressions doesn’t allow data entered by end-users to be saved. To save data, provide data for unbound fields via the ASPxCardView.CustomUnboundColumnData event.

To learn more about unbound columns, see Unbound Columns.


<dx:ASPxCardView ID="CardView" runat="server" DataSourceID="SalesPersonDataSource" Width="100%" AutoGenerateColumns="False">
        <dx:CardViewTextColumn FieldName="UnitPrice">
            <PropertiesTextEdit DisplayFormatString="c" />
        <dx:CardViewTextColumn FieldName="Total" UnboundType="Decimal" UnboundExpression="UnitPrice * Quantity">
            <PropertiesTextEdit DisplayFormatString="c" />
See Also