Represents a report element that can display text or data, which can be formatted as text.
Namespace: MindFusion.Reporting.Silverlight
Assembly: MindFusion.Reporting.Silverlight
C# Copy Code |
---|
public class Label : ReportItem |
Visual Basic Copy Code |
---|
Public Class Label |
Usually, labels display static text. In this case, the text to be displayed is assigned to the Text property of the labels.
Labels can be bound to members in the current data context using standard Silverlight bindings.
Finally, the text of the label may contained expressions. The expressions within the label's text are evaluated when the report is run and the result of the evaluation is displayed by the label. Extensive information about how to integrate expressions in the text of labels can be found in the Using Expressions in Label Texts topic.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
MindFusion.Reporting.Silverlight.ReportItem
MindFusion.Reporting.Silverlight.Label