ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / ReportItem Class / Label Property
Example

Label Property (ReportItem)
Gets or sets a label for identifying an instance of a report item within the client UI (e.g., a user-friendly label for searching or appearing in the Document Map).
Syntax
'Declaration
 
Public Property Label As ExpressionInfo
 

Property Value

An GrapeCity.Enterprise.Data.Expressions.ExpressionInfo object representing the label text.
Remarks

The label is used in hierarchical listings of report items within the UI (the Document Map) based on the object containment hierarchy in the report definition. Peer items are listed in left-to-right, top-to-bottom order.

If the expression returns null, no item is added to the Document Map.

Labels are not used for report items in the page header or footer.

Example
var reportItem = new TextBox();
reportItem.Label = "Section 1";
See Also