PagerStyle::PageLabel Property

 

Gets or sets the label used for the current page. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(true)]
property String^ PageLabel {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The label used for the current page.

If this property contains an empty string, no label is displayed. The label can include the format specifiers {0} and {1}, which are substituted with the page number of the current page and the total number of pages, respectively, when the label is rendered. For example, the format specifier Page {0} of {1} would show the current position within the total number of pages.

System_CAPS_noteNote

WML devices do not render this property.

The following example demonstrates how to use the PageLabel property to set the page label to "Go to page".

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: