Constructors
-
Html
Attributes() Initializes a new instance of the HtmlAttributes class.
Methods
-
Add
Class(String) Adds a CSS class. -
Add
Property(String, Adds a property.String) -
Add
Property Adds the specified property only if it does not already exist.If Not Exist(String, Object) -
Copy
To(Html Copies/merge the values from this instance to the specified HtmlAttributes instance.Attributes, Boolean, Boolean)
Properties
- Classes Gets or sets the CSS classes attached. May be null.
- Id Gets or sets the HTML id/identifier. May be null.
- Properties Gets or sets the additional properties. May be null.