ActiveReports 13
FormatString Property

GrapeCity.ActiveReports Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > ReportInfo Class : FormatString Property
Gets or sets the mask string used to format the text property before placing it in the Text property.
Public Property FormatString As String
public string FormatString {get; set;}
The formatting mask can only be used to format numbers and dates.  There is no support for formatting alphanumeric strings. The ReportInfo control will display variations of report Page and RunDateTime information.
private void detail_Format(object sender, System.EventArgs eArgs) 
    this.reportInfo1.Font = New System.Drawing.Font("Arial", 10.0f);
    this.reportInfo1.FormatString = "Page {PageNumber} of {PageCount} on {RunDateTime}"; 
Private Sub Detail1_Format(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.ReportInfo1.Font = New System.Drawing.Font("Arial", 10.0f)
    Me.ReportInfo1.FormatString = "Page {PageNumber} of {PageCount} on {RunDateTime}"
End Sub
See Also


ReportInfo Class
ReportInfo Members