Class ButtonHtmlAttributes
HtmlAttributes class that is returned from button methods that allows for extension methods targetted at buttons.
Implements
Microsoft.AspNetCore.Html.IHtmlContent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ChameleonForms.Component
Assembly: ChameleonForms.Core.dll
Syntax
public class ButtonHtmlAttributes : LazyHtmlAttributes, IHtmlContent
Constructors
| Improve this Doc View SourceButtonHtmlAttributes(Func<HtmlAttributes, IHtmlContent>)
Construct a ButtonHtmlAttributes class.
Declaration
public ButtonHtmlAttributes(Func<HtmlAttributes, IHtmlContent> htmlGenerator)
Parameters
Type | Name | Description |
---|---|---|
System.Func<HtmlAttributes, Microsoft.AspNetCore.Html.IHtmlContent> | htmlGenerator | The generator to use to generate the HTML when .ToHtmlString() is called |
Implements
Microsoft.AspNetCore.Html.IHtmlContent