Gets or sets the text displayed in the built-in navigation bar.

Namespace:  C1.Web.C1WebReport
Assembly:  C1.Web.C1WebReport.2 (in C1.Web.C1WebReport.2.dll)

Syntax

C#
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute("Page {0} of {1}")]
public string Text { get; set; }
Visual Basic (Declaration)
<NotifyParentPropertyAttribute(True)> _
<DefaultValueAttribute("Page {0} of {1}")> _
Public Property Text As String
	Get
	Set

Remarks

The Text property should contain two format placeholders, "{0}" and "{1}", which are used to display the values of the CurrentPage and PageCount properties.

The default value for the Text property is "Page {0} of {1}".

Examples

You can change the text in the navigation bar and also add some formatting by adding HTML formatting tags to the text. For example:

Copy CodeVisual Basic
_c1wr.NavigationBar.Text = "This report has {1} pages, and this is page <b>{0}</b>"
Copy CodeC#
_c1wr.NavigationBar.Text = "This report has {1} pages, and this is page <b>{0}</b>";

See Also