ChtmlTextWriter.SuppressedAttributes 属性

定义

获取用户指定的已取消的特性(无法在 cHTML 元素上呈现)的 Hashtable 对象。

protected:
 property System::Collections::Hashtable ^ SuppressedAttributes { System::Collections::Hashtable ^ get(); };
protected System.Collections.Hashtable SuppressedAttributes { get; }
member this.SuppressedAttributes : System.Collections.Hashtable
Protected ReadOnly Property SuppressedAttributes As Hashtable

属性值

Hashtable

已取消的 cHTML 特性的 Hashtable

注解

RemoveRecognizedAttribute使用该方法将属性添加到禁止的属性集合。

以下列表显示创建类的新实例ChtmlTextWriter时为div元素设置的默认抑制属性。

accesskey gridlines
cellspacing rules
cellpadding

以下列表显示创建类的新实例ChtmlTextWriter时为span元素设置的默认抑制属性。

cellspacing gridlines
cellpadding rules

适用于

另请参阅