HtmlTagContext Members
The HtmlTagContext class is passed to the HtmlTagCallback delegate and is used to get information about the tag that caused the callback and to filter the tag as it is written to the output.
The following tables list the members exposed by the HtmlTagContext type.
Public Properties
Name | Description | |
---|---|---|
Attributes | The Attributes property contains a collection of the attributes contained in the tag that caused the callback to the HtmlTagCallback delegate. | |
IsEmptyElementTag | The IsEmptyElementTag property gets a Boolean value indicating whether the tag that caused the callback to the HtmlTagCallback delegate is an empty element tag. | |
IsEndTag | The IsEndTag property gets a Boolean value indicating whether the tag that caused the callback to the HtmlTagCallback delegate is an end tag. | |
TagId | The TagId property gets a HtmlTagId enumeration value that identifies the tag that caused the callback to the HtmlTagCallback delegate. | |
TagName | The TagName property gets a string containing the name of the tag that caused the callback to the HtmlTagCallback delegate. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
DeleteInnerContent | The DeleteInnerContent method suppresses the output of the content between the tag that caused the callback to the HtmlTagCallback delegate and its end tag. | |
DeleteTag | Overloaded. The DeleteTag method overloads suppress the output of the tag that caused the callback to the HtmlTagCallback delegate. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
InvokeCallbackForEndTag | The InvokeCallbackForEndTag method causes the callback to be called for the current tag's corresponding end tag. | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) | |
WriteTag | Overloaded. The WriteTag method overloads write the tag that caused the callback to the output Stream or TextWriter. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top