PagerStyle.PageLabel Property

Gets or sets the label used for the current page. The default value is an empty string ("").

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

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

/** @property */
public void set_PageLabel (String value)

public function get PageLabel () : String

public function set PageLabel (value : String)

Property Value

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.

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

ADD
Show: