Gets or sets the text of the label. This is a dependency property.
Namespace: MindFusion.Reporting.Wpf
Assembly: MindFusion.Reporting.Wpf
SyntaxC#
Copy Code
|
|---|
public string Text { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property Text As String |
RemarksThe text of the label can contain expressions embedded in it. To embed an expression, simply enclose it in square brackets - '[' and ']'. The following example embeds the expression Now() in the text of a label.
XAML
Copy Code
|
|---|
<r:Label Text="[Now()]" /> |
For more information about expressions in general, check Expressions. For more information on how to use expressions in label texts, check Using Expressions in Label Texts.
See Also