語言

MobilePage.Theme 屬性

定義

取得或設定頁面主題名稱。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 virtual property System::String ^ Theme { System::String ^ get(); void set(System::String ^ value); };
public override string Theme { get; set; }
member this.Theme : string with get, set
Public Overrides Property Theme As String

屬性值

頁面主題名稱。 該 Theme 屬性為伺服器端欄位,無法修改。

例外狀況

曾嘗試設置此財產。 行動網頁表單不支援主題。

備註

這個成員會 Page.Theme 覆寫,防止主題被啟用。 這是因為 ASP.NET 行動網頁不支援主題。

適用於

另請參閱