Skip to main content
Tab

ItemTemplateContainerBase.EvalDataItem(String) Method

Evaluates a data-binding expression.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public object EvalDataItem(
    string expression
)

Parameters

Name Type Description
expression String

A string value representing the expression to evaluate. The navigation path from the container to the public property value, to be placed in the bound control property.

Returns

Type Description
Object

A Object instance that results from the evaluation of the data-binding expression.

Remarks

This method is particularly useful when binding data to controls that are in a templated list.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EvalDataItem(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also