MobilePage.EnableTheming 属性

定义

获取或设置一个值,该值指示是否将主题应用到此页。Gets or sets a value indicating whether themes apply to this page. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 virtual property bool EnableTheming { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool EnableTheming { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.EnableTheming : bool with get, set
Public Overrides Property EnableTheming As Boolean

属性值

Boolean

false.false.

属性

例外

已尝试设置此属性。An attempt was made to set this property. 此属性的值不能更改。The value of this property cannot be changed.

注解

移动页上不支持主题。Themes are not supported on mobile pages.

适用于