PagerStyle.PageLabel 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定當前頁面所用的標籤。 預設值是空字串 ("")。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱
public:
property System::String ^ PageLabel { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string PageLabel { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.PageLabel : string with get, set
Public Property PageLabel As String
屬性值
目前頁面使用的標籤。
- 屬性
備註
若此屬性包含空字串,則不會顯示標籤。 標籤可包含格式指定符 {0} 與 {1},在渲染標籤時分別以當前頁面的頁碼與總頁數取代。 例如,格式指定符 Page {0} of {1} 會顯示目前在總頁數中的位置。
Note
WML裝置不會渲染此屬性。