Skip to main content

ExpressionBindingDescriptor.TryGetPropertyDescription(Type, String, out ExpressionBindingDescription) Method

Allows you to get an object that stores information about expression bindings of a report control’s property.

Namespace: DevExpress.XtraReports.Expressions

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core


public static bool TryGetPropertyDescription(
    Type componentType,
    string propertyName,
    out ExpressionBindingDescription value


Name Type Description
componentType Type

A control type.

propertyName String

A property name.

value ExpressionBindingDescription

An object that stores information about expression bindings.


Type Description

true if the object is retrieved successfully; otherwise, false.


using DevExpress.XtraReports.Expressions;
using DevExpress.XtraReports.UI;
// ...
ExpressionBindingDescription description;

var hasDescription = ExpressionBindingDescriptor.TryGetPropertyDescription(
    componentType: typeof(XRLabel),
    propertyName: "Text",
    value: out description

if (hasDescription) {
    // ...
See Also