MobileControl.EnableTheming 属性

定义

获取一个值,该值指示是否将主题应用到该控件。Gets a value indicating whether themes apply to this control. 此 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:
 property bool EnableTheming { bool get(); void set(bool value); };
public override sealed bool EnableTheming { get; set; }
member this.EnableTheming : bool with get, set
Public Overrides NotOverridable Property EnableTheming As Boolean

属性值

在所有情况下均为 FalseFalse in all cases.

例外

已尝试设置 EnableTheming 属性。An attempt to set the EnableTheming property is made.

注解

MobileControl 类不支持主题。The MobileControl class does not support theming. 如果尝试设置 EnableTheming 属性,则会引发 NotSupportedException 异常。If an attempt to set the EnableTheming property is made, a NotSupportedException exception is thrown.

适用于

另请参阅