[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.CustomReportItemExtension.GetCustomPropertyAsExpression

GetCustomPropertyAsExpression Method

GetCustomPropertyAsExpression(CustomReportItem, string, ExpressionInfo)

Gets the custom property value as an expression.

Declaration
public static ExpressionInfo GetCustomPropertyAsExpression(this CustomReportItem reportItem, string propertyName, ExpressionInfo defaultValue)
Parameters
Type Name Description
CustomReportItem reportItem

The custom report item.

string propertyName

The name of the custom property.

ExpressionInfo defaultValue

The default value to return if the property does not exist.

Returns
Type Description
ExpressionInfo

The custom property value as an ExpressionInfo object, or the default value if the property does not exist.