Interface ITag
Standardizes what Tag-objects can do - valid for all Html and Svg tags.
Inherited Members
System.Collections.Generic.IEnumerable<ToSic.Razor.Markup.ITag>.GetEnumerator()
Namespace: ToSic.Razor.Markup
Assembly: ToSic.Razor.dll
Syntax
public interface ITag : IEnumerable<ITag>, IEnumerable
Properties
| Improve this Doc View SourceTagAttributes
All attributes of this tag
Declaration
AttributeList TagAttributes { get; }
Property Value
Type | Description |
---|---|
AttributeList |
TagEnd
Declaration
HtmlString TagEnd { get; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Html.HtmlString |
TagName
The tag name
Declaration
string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
TagStart
Declaration
HtmlString TagStart { get; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Html.HtmlString |
Methods
| Improve this Doc View SourceToString()
Gets the HTML encoded value.
Declaration
string ToString()
Returns
Type | Description |
---|---|
System.String |