ButtonElement Class

ButtonElement class

The ButtonElement represents a wrapper that is associated with the HTMLButtonElement.

public class ButtonElement : FormElement<HTMLButtonElement>


ElementType { get; }Gets the type of the element.
HtmlElement { get; }
override Id { get; set; }Represents the Id attribute of the Button element.
override Name { get; set; }Represent the name attribute of the Button element.
Type { get; set; }Type of the form control.
override Value { get; set; }Represents the string value of the button element that is directly mapped to the ‘value’ attribute.

See Also