Table.SupportsDisabledAttribute 属性
定义
public:
virtual property bool SupportsDisabledAttribute { bool get(); };
public override bool SupportsDisabledAttribute { get; }
member this.SupportsDisabledAttribute : bool
Public Overrides ReadOnly Property SupportsDisabledAttribute As Boolean
属性值
true 如果 RenderingCompatibility 属性指示 ASP.NET 版本低于 4.0,则为; 否则为 false 。true if the RenderingCompatibility property indicates an ASP.NET version lower than 4.0; otherwise, false.
注解
此属性指示在控件被禁用时 ASP.NET 应如何呈现控件的 HTML。This property indicates how ASP.NET should render HTML for a control when the control is disabled. 如果此属性为 true ,则 disabled 在禁用控件时,ASP.NET 将呈现属性。If this property is true, ASP.NET renders a disabled attribute when a control is disabled. 如果此属性为 false ,则 class 在禁用控件时,ASP.NET 将呈现属性。If this property is false, ASP.NET renders a class attribute when a control is disabled. 有关详细信息,请参阅 WebControl.SupportsDisabledAttribute。For more information, see WebControl.SupportsDisabledAttribute.