Class Object
Generate a standard HTML5 <object> tag
Implements
Inherited Members
Namespace: ToSic.Razor.Html5
Assembly: ToSic.Razor.dll
Syntax
public class Object : Tag<Object>, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable
Methods
| Improve this Doc View SourceData(String)
Set the data attribute on the <object> tag Automatically url-encode it if contains spaces, umlauts or other unexpected chars
Declaration
public Object Data(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in data='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |
Form(String)
Set the form attribute on the <object> tag
Declaration
public Object Form(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in form='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |
Height(Int32)
Set the height attribute on the <object> tag
Declaration
public Object Height(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | what should be in height='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |
Height(String)
Set the height attribute on the <object> tag
Declaration
public Object Height(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in height='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |
Name(String)
Set the name attribute on the <object> tag
Declaration
public Object Name(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in name='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |
Type(String)
Set the type attribute on the <object> tag
Declaration
public Object Type(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in type='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |
Usemap(String)
Set the usemap attribute on the <object> tag
Declaration
public Object Usemap(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in usemap='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |
Width(Int32)
Set the width attribute on the <object> tag
Declaration
public Object Width(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | what should be in width='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |
Width(String)
Set the width attribute on the <object> tag
Declaration
public Object Width(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in width='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Object | a Object object to enable fluid command chaining |