Class Colgroup
Generate a standard HTML5 <colgroup> tag
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<ITag>
System.Collections.IEnumerable
Inherited Members
Namespace: ToSic.Razor.Html5
Assembly: ToSic.Razor.dll
Syntax
public class Colgroup : Tag<Colgroup>, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable
Methods
| Improve this Doc View SourceSpan(Int32)
Set the span attribute on the <colgroup> tag
Declaration
public Colgroup Span(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | what should be in span='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Colgroup | a Colgroup object to enable fluid command chaining |
Span(String)
Set the span attribute on the <colgroup> tag
Declaration
public Colgroup Span(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in span='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Colgroup | a Colgroup object to enable fluid command chaining |
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable