MobilePage.Theme 属性

定义

获取或设置页主题的名称。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 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 属性是服务器端字段,无法对其进行修改。

例外

已尝试设置此属性。 移动 Web 窗体页上不支持主题。

注解

此成员重写 Page.Theme 以防止启用主题。 这是因为 ASP.NET 移动Web Forms页面上不支持主题。

适用于

另请参阅