Class ButtonElement

Class ButtonElement

Namespace: Aspose.Html.Forms
Assembly: Aspose.HTML.dll (25.2.0)

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

[ComVisible(true)]
public class ButtonElement : FormElement<htmlbuttonelement>

Inheritance

objectFormElementFormElement<htmlbuttonelement>ButtonElement

Inherited Members

FormElement<htmlbuttonelement>.HtmlElement, FormElement.ElementType, FormElement.Name, FormElement.Id, FormElement.Value, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

Id

Represents the Id attribute of the Button element.

public override string Id { get; set; }

Property Value

string

Name

Represent the name attribute of the Button element.

public override string Name { get; set; }

Property Value

string

Type

Type of the form control.

public ButtonType Type { get; set; }

Property Value

ButtonType

Value

Represents the string value of the button element that is directly mapped to the ‘value’ attribute.

public override string Value { get; set; }

Property Value

string </htmlbuttonelement></htmlbuttonelement>