Class
HtmlInputControl

Base class for all input controls

Definition

Namespace:ArtOfTest.WebAii.Controls.HtmlControls

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class HtmlInputControl : HtmlControl

Inheritance: objectControlHtmlControlHtmlInputControl

Derived Classes: HtmlInputButtonHtmlInputFileHtmlInputHiddenHtmlInputImageHtmlInputPasswordHtmlInputResetHtmlInputSubmitHtmlInputTextHtmlRadioCheckboxControl

Inherited Members HtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ClientSideLocatorHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.LocatorControl.LocatorExpression

Constructors

HtmlInputControl()

Create a new test control.

Declaration

cs-api-definition
public HtmlInputControl()

HtmlInputControl(Element)

Create a new control.

Declaration

cs-api-definition
public HtmlInputControl(Element element)

Parameters

element

Element

The base element.

Properties

Autofocus

Gets whether this element is the autofocus input for the form containing it

Declaration

cs-api-definition
public bool Autofocus { get; }

Property Value

bool

Name

Gets the name attribute for control

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

Placeholder

Gets the placeholder text for the control

Declaration

cs-api-definition
public string Placeholder { get; }

Property Value

string

Required

Gets whether this input must be filled in for the form to validate

Declaration

cs-api-definition
public bool Required { get; }

Property Value

bool

Type

Input control type

Declaration

cs-api-definition
public InputElementType Type { get; }

Property Value

InputElementType

Value

Gets or sets the value attribute for control

Declaration

cs-api-definition
public string Value { get; set; }

Property Value

string

Methods

AssignElement(Element)

Assign element and initialize this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The base element.

Overrides HtmlControl.AssignElement(Element)

GetControlType(InputElementType)

Determines the framework control type according to the input element type.

Declaration

cs-api-definition
public static Type GetControlType(InputElementType type)

Parameters

type

InputElementType

The input element type to look for.

Returns

Type

The corresponding framework control type.

ValidateType(InputElementType)

Validates the type of the input control.

Declaration

cs-api-definition
protected void ValidateType(InputElementType inputElementType)

Parameters

inputElementType

InputElementType

InputElementType Enum