SelectElement Class
The SelectElement represents a wrapper that is associated with the HTMLSelectElement
Inheritance Hierarchy

Namespace: Aspose.Html.Forms
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
public class SelectElement : FormElement<HTMLSelectElement>

The SelectElement type exposes the following members.

Public propertyElementType
Gets the type of the element.
(Inherited from FormElement.)
Public propertyHtmlElement
Gets the HTMLElement.
(Inherited from FormElementT.)
Public propertyId
Represents the Id attribute of the input element.
(Overrides FormElementId.)
Public propertyMultiple
If true, multiple OPTION elements may be selected in this SELECT. See the multiple attribute definition in HTML 4.01.
Public propertyName
Represent the name attribute of the input element.
(Overrides FormElementName.)
Public propertyOptions
Returns a list of options
Public propertySelectedOptions
Returns a list of selected options
Public propertyType
The type of this form control. This is the string "select-multiple" when the multiple attribute is true and the string "select-one" when false.
Public propertyValue
On getting, must return the value of the first option element in the list of options in tree order that has its selectedness set to true, if any.
(Overrides FormElementValue.)
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 methodSelectItems(Int32)
This methods allows to select multiple options by their indexes.
Public methodSelectItems(String)
This methods allows to select multiple options by their values.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also