Using component properties

When creating expressions, you can use the properties of any component in the report.

syntax

The syntax is the same whether the reporting language is C# or VB.NET. Enter the component name and property name separated by a decimal point or period character and enclosed in curly braces.

{Component. Property}

 important: If the report language is C#, the name is case sensitive. If the report language is VB.NET, the name is case insensitive.

For example, to display the name of the component MyComponent, enter the following expression:

{MyComponent.Name}

If you want to access the calculated value inside the component, you should use the property containing the desired result. For example, if a component has a hyperlink value and you want to calculate the hyperlink from another component's properties, enter an expression to access it.

{MyComponent.HyperlinkValue}

Component properties can be used in calculations as needed. For example, the following will display the area occupied by the component.

{MyComponent.Width * MyComponent.Height}