C# Class SimpleBrowser.Elements.FormElement

Inheritance: HtmlElement
显示文件 Open project: SimpleBrowserDotNet/SimpleBrowser Class Usage Examples

Public Methods

Method Description
FormElement ( System.Xml.Linq.XElement element ) : System

Initializes a new instance of the FormElement class.

SubmitForm ( string url = null, HtmlElement clickedElement = null ) : bool

Submits the form

Private Methods

Method Description
Submit ( string url = null, HtmlElement clickedElement = null ) : bool

Submits the form

Method Details

FormElement() public method

Initializes a new instance of the FormElement class.
public FormElement ( System.Xml.Linq.XElement element ) : System
element System.Xml.Linq.XElement The XElement from the document corresponding to this element.
return System

SubmitForm() public method

Submits the form
public SubmitForm ( string url = null, HtmlElement clickedElement = null ) : bool
url string Optional. If specified, the url to submit the form. Overrides the form action.
clickedElement HtmlElement Optional. The element clicked, resulting in form submission.
return bool