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
Attributes TagAttributes { get; }
Property Value
Type | Description |
---|---|
Attributes |
TagChildren
List of child tags inside this tag.
Declaration
TagChildren TagChildren { get; }
Property Value
Type | Description |
---|---|
TagChildren |
TagEnd
Declaration
RawHtmlString TagEnd { get; }
Property Value
Type | Description |
---|---|
ToSic.Razor.Markup.RawHtmlString |
TagName
The tag name
Declaration
string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
TagOptions
The options which determine how the tag will be generated.
Declaration
TagOptions TagOptions { get; }
Property Value
Type | Description |
---|---|
TagOptions |
TagStart
Declaration
RawHtmlString TagStart { get; }
Property Value
Type | Description |
---|---|
ToSic.Razor.Markup.RawHtmlString |
Methods
| Improve this Doc View SourceToString()
Gets the HTML encoded value.
Declaration
string ToString()
Returns
Type | Description |
---|---|
System.String |