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