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)

Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show: