ChtmlTextWriter.SuppressedAttributes 属性

定义

Hashtable获取未在 cHTML 元素上呈现的用户指定的禁止显示属性的对象。

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 属性。

注解

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

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

  • accesskey
  • gridlines
  • cellspacing
  • rules
  • cellpadding

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

  • cellspacing
  • gridlines
  • cellpadding
  • rules

适用于

另请参阅