Class
TelerikBlazorNumericTextBox

TelerikNumericTextBox control wrapper

Definition

Namespace:Telerik.TestingFramework.Controls.TelerikUI.Blazor.NumericTextBox

Assembly:Telerik.TestingFramework.Controls.TelerikUI.Blazor.dll

Syntax:

cs-api-definition
public class TelerikBlazorNumericTextBox : TelerikBlazorContainerControlBase

Inheritance: objectControlHtmlControlHtmlContainerControlTelerikBlazorContainerControlBaseTelerikBlazorNumericTextBox

Inherited Members TelerikBlazorContainerControlBase.matchExpressionTelerikBlazorContainerControlBase.ControlAssert()TelerikBlazorContainerControlBase.SetTelerikComponentsVersion(TelerikComponentsVersion?)TelerikBlazorContainerControlBase.LocatorExpressionTelerikBlazorContainerControlBase.ClientSideLocatorHtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.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.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

TelerikBlazorNumericTextBox()

Initializes a new instance of TelerikBlazorNumericTextBox class.

Declaration

cs-api-definition
public TelerikBlazorNumericTextBox()

TelerikBlazorNumericTextBox(Element)

Initializes a new instance of TelerikBlazorNumericTextBox class.

Declaration

cs-api-definition
public TelerikBlazorNumericTextBox(Element element)

Parameters

element

Element

Properties

DisplayText

Gets display value.

Declaration

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

Property Value

string

HasArrows

Get whether control has increment/decrement sub controls

Declaration

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

Property Value

bool

IsValid

Get whether control is in valid state.

Declaration

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

Property Value

bool

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 HtmlContainerControl.AssignElement(Element)

Decrement(int, int)

Decrement value by pressing down arrow.

Declaration

cs-api-definition
public void Decrement(int count = 1, int delay = 500)

Parameters

count

int

Number of decrement operations to be performed.

delay

int

Number of miliseconds to wait for value to get updated.

Increment(int, int)

Increment value by pressing up arrow.

Declaration

cs-api-definition
public void Increment(int count = 1, int delay = 500)

Parameters

count

int

Number of increment operations to be performed.

delay

int

Number of miliseconds to wait for value to get updated.

InitializeMatchExpression()

Initializes the control match expression pattern used to identify an element as a specific control.

Declaration

cs-api-definition
protected override void InitializeMatchExpression()

Overrides TelerikBlazorContainerControlBase.InitializeMatchExpression()

ReadValue(int)

Puts element on focus and reads input value text.

Declaration

cs-api-definition
public double ReadValue(int readDelay = 500)

Parameters

readDelay

int

Number of miliseconds to wait before reading input value.

Returns

double

Input value.

WriteValue(double, IFormatProvider, int, int)

Puts element on focus and inputs specific number.

Declaration

cs-api-definition
public void WriteValue(double value, IFormatProvider formatProvider = null, int writeDelay = 500, int keyPressDelay = 50)

Parameters

value

double

Value to set.

formatProvider

IFormatProvider

Format provider used to covert specified value to string.

writeDelay

int

Number of miliseconds to wait before writing input value.

keyPressDelay

int

Delay between key strokes.