ChtmlTextWriter.SuppressedAttributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a Hashtable object of user-specified suppressed attributes that are not rendered on cHTML elements.
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
Property Value
A Hashtable of suppressed cHTML attributes.
Remarks
Use the RemoveRecognizedAttribute method to add attributes to the suppressed attributes collection.
The following list shows the default suppressed attributes that are set for a div
element when a new instance of the ChtmlTextWriter class is created.
accesskey |
gridlines |
cellspacing |
rules |
cellpadding |
The following list shows the default suppressed attributes that are set for a span
element when a new instance of the ChtmlTextWriter class is created.
cellspacing |
gridlines |
cellpadding |
rules |
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈