PagerStyle 類別

定義

警告

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

提供頁面分頁 UI 的樣式功能。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

public ref class PagerStyle : System::Web::UI::MobileControls::Style
public class PagerStyle : System.Web.UI.MobileControls.Style
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class PagerStyle : System.Web.UI.MobileControls.Style
type PagerStyle = class
    inherit Style
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type PagerStyle = class
    inherit Style
Public Class PagerStyle
Inherits Style
繼承
PagerStyle
屬性

備註

物件 PagerStyle 是具有 Style 表單) 之分頁用戶介面特定其他樣式屬性的物件 (UI。 使用 類別的屬性PagerStyle和方法,覆寫 、 PreviousPageTextPageLabel 屬性的預設文字NextPageText。 例如,如果您要以程序設計方式建立具有 [下一頁] 和 [上一頁] 鏈接的表單,您可以藉由設定先前提及的屬性值來覆寫這些連結的文字。 您可以使用、 GetPreviousPageText之類的GetNextPageText方法,或 GetPageLabelText 來擷取屬性的目前值。

注意

屬性 PageLabel 僅適用於 HTML 標記,而且可能不會在其他標記中轉譯,例如 WML。

建構函式

PagerStyle()
已淘汰.

執行個體化 PagerStyle 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

欄位

NextPageTextKey
已淘汰.

表示從 NextPageText 的內嵌樣式表中擷取樣式所使用的索引鍵。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

PageLabelKey
已淘汰.

表示從 PageLabel 的內嵌樣式表中擷取樣式所使用的索引鍵。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

PreviousPageTextKey
已淘汰.

表示從 PreviousPageText 的內嵌樣式表中擷取樣式所使用的索引鍵。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

屬性

Alignment
已淘汰.

取得或設定樣式的指定對齊方式。 預設值是 NotSet。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
BackColor
已淘汰.

取得或設定樣式的指定背景色彩。 預設值是 Empty。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
Control
已淘汰.

傳回關聯控制項的強型別參考。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
DeviceSpecific
已淘汰.

取得或設定與控制項關聯的 DeviceSpecific/Choice 建構。 如果不存在這類語法結構,存取子 (Accessor) 就會傳回 null。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
Font
已淘汰.

傳回 FontInfo 物件,該物件包含控制項的字型相關資訊。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
ForeColor
已淘汰.

取得或設定樣式的指定前景色彩。 通常這個屬性會設定文字的色彩。 預設值是 Empty。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
IsTemplated
已淘汰.

取得值,指出 Style 物件是否有現用的樣板集。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
IsTrackingViewState
已淘汰.

取得值,指出 Style 物件是否正在將變更儲存到它的檢視狀態。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
Item[Object, Boolean]
已淘汰.

使用或不使用繼承,透過金鑰參數傳回樣式。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
Item[Object]
已淘汰.

透過金鑰參數,使用或不使用繼承來傳回樣式。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
Name
已淘汰.

取得或設定指定之物件的名稱。 預設值為空字串 ("")。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
NextPageText
已淘汰.

取得或設定 UI 項目所用的標籤 (Label),用以巡覽至下一頁。 預設值為 [下一頁]。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

PageLabel
已淘汰.

取得或設定目前頁面所用的標籤。 預設值為空字串 ("")。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

PreviousPageText
已淘汰.

取得或設定 UI 項目所用的標籤,用以巡覽至上一頁。 預設值是 Previous。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

State
已淘汰.

取得 StateBag 的目前內容。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
StyleReference
已淘汰.

取得或設定 Style 之樣式屬性的參考。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
Wrapping
已淘汰.

取得或設定樣式的指定換行模式。 預設值是 NotSet。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)

方法

AddParsedSubObject(Object)
已淘汰.

DeviceSpecific 屬性設定為指定的物件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
ApplyTo(WebControl)
已淘汰.

將樣式的屬性套用至控制項。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
Clone()
已淘汰.

傳回 Style 物件這個執行個體的複本。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetNextPageText(Int32)
已淘汰.

傳回使用者介面 (UI) 項目的格式化字串,用以巡覽至下一頁。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

GetPageLabelText(Int32, Int32)
已淘汰.

傳回 UI 項目的格式化字串,用以巡覽至下一頁。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

GetPreviousPageText(Int32)
已淘汰.

傳回 UI 項目的格式化字串,用以巡覽至上一頁。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

GetTemplate(String)
已淘汰.

傳回具有指定名稱的樣板。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

(繼承來源 Style)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
LoadViewState(Object)
已淘汰.

將檢視狀態載入 State 物件的 Style。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
SaveViewState()
已淘汰.

將檢視狀態的變更儲存至 Object。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)
TrackViewState()
已淘汰.

開啟 Style 物件中檢視狀態的追蹤。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)

明確介面實作

IParserAccessor.AddParsedSubObject(Object)
已淘汰.

如需這個成員的說明,請參閱 AddParsedSubObject(Object)。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
IStateManager.IsTrackingViewState
已淘汰.

如需這個成員的說明,請參閱 IsTrackingViewState。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
IStateManager.LoadViewState(Object)
已淘汰.

如需這個成員的說明,請參閱 LoadViewState(Object)。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
IStateManager.SaveViewState()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

已淘汰.

如需這個成員的說明,請參閱 SaveViewState()。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)
IStateManager.TrackViewState()
已淘汰.

如需這個成員的說明,請參閱 TrackViewState()。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

(繼承來源 Style)

適用於

另請參閱