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