Gets the string used to format the Text of this label. This is a dependency property.
Namespace: MindFusion.Reporting.Silverlight
Assembly: MindFusion.Reporting.Silverlight
C# Copy Code |
---|
public string TextFormat { get; set; } |
Visual Basic Copy Code |
---|
Public Property TextFormat As String |
A string specifying the text format.
The following example illustrates how to format the value of a label as a USD currency:
XAML Copy Code |
---|
<r:Label Text="[UnitPrice]" TextFormat="${0:#,##0.00}" /> |