MindFusion.Reporting for Silverlight Programmer's Guide
Label.TextFormat Property
See Also
 





Gets the string used to format the Text of this label. This is a dependency property.

Namespace: MindFusion.Reporting.Silverlight
Assembly: MindFusion.Reporting.Silverlight

 Syntax

C#  Copy Code

public string TextFormat { get; set; }

Visual Basic  Copy Code

Public Property TextFormat As String

 Property Value

A string specifying the text format.

 Example

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}" />

 See Also

Label Members
Label Class
MindFusion.Reporting.Silverlight Namespace