OptionElement Class
The OptionElement represents a wrapper that is associated with the HTMLOptionElement
Inheritance Hierarchy
SystemObject
  Aspose.Html.FormsFormElement
    Aspose.Html.FormsFormElementHTMLOptionElement
      Aspose.Html.FormsOptionElement

Namespace: Aspose.Html.Forms
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public class OptionElement : FormElement<HTMLOptionElement>

The OptionElement type exposes the following members.

Properties
  NameDescription
Public propertyDisabled
The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.
Public propertyElementType
Gets the type of the element.
(Inherited from FormElement.)
Public propertyHtmlElement
Gets the HTMLElement.
(Inherited from FormElementT.)
Public propertyId
Gets or sets the identifier of the form element.
(Inherited from FormElement.)
Public propertyLabel
Option label for use in hierarchical menus. See the label attribute definition in HTML 4.01.
Public propertyName
Gets or sets the name of the form element.
(Inherited from FormElement.)
Public propertySelected
Represents the current state of the corresponding form control, in an interactive user agent. Changing this attribute changes the state of the form control, but does not change the value of the HTML selected attribute of the element.
Public propertyText
This attribute represents the text content of this node and its descendants.
Public propertyValue
The current form control value. See the value attribute definition in HTML 4.01.
(Overrides FormElementValue.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also