ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering Namespace / CustomReportItemExtension Class / GetCustomPropertyAsExpression Method
The custom report item.
The name of the custom property.
The default value to return if the property does not exist.

In This Topic
    GetCustomPropertyAsExpression Method
    In This Topic
    Gets the custom property value as an expression.
    Syntax
    'Declaration
     
    Public Shared Function GetCustomPropertyAsExpression( _
       ByVal reportItem As CustomReportItem, _
       ByVal propertyName As String, _
       ByVal defaultValue As ExpressionInfo _
    ) As ExpressionInfo
    public static ExpressionInfo GetCustomPropertyAsExpression( 
       CustomReportItem reportItem,
       string propertyName,
       ExpressionInfo defaultValue
    )

    Parameters

    reportItem
    The custom report item.
    propertyName
    The name of the custom property.
    defaultValue
    The default value to return if the property does not exist.

    Return Value

    The custom property value as an GrapeCity.Enterprise.Data.Expressions.ExpressionInfo object, or the default value if the property does not exist.
    See Also