Class
TelerikBlazorList

Definition

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

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

Syntax:

cs-api-definition
public class TelerikBlazorList : TelerikBlazorContainerControlBase

Inheritance: objectControlHtmlControlHtmlContainerControlTelerikBlazorContainerControlBaseTelerikBlazorList

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

TelerikBlazorList()

Initializes a new instance of the TelerikBlazorList class.

Declaration

cs-api-definition
public TelerikBlazorList()

TelerikBlazorList(Element)

Initializes a new instance of the TelerikBlazorList class.

Declaration

cs-api-definition
public TelerikBlazorList(Element element)

Parameters

element

Element

Properties

ItemsCount

Gets the number of listed items

Declaration

cs-api-definition
public int ItemsCount { get; }

Property Value

int

SelectedItemsCount

Gets the count of selected items.

Declaration

cs-api-definition
public int SelectedItemsCount { get; }

Property Value

int

SelectedItemsList

Gets the list of selected items.

Declaration

cs-api-definition
public IList<TelerikBlazorListItem> SelectedItemsList { get; }

Property Value

IList<TelerikBlazorListItem>

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)

FindItems(Func<TelerikBlazorListItem, bool>)

Gets the list of the data items matching the given predicate.

Declaration

cs-api-definition
public IList<TelerikBlazorListItem> FindItems(Func<TelerikBlazorListItem, bool> predicate)

Parameters

predicate

Func<TelerikBlazorListItem, bool>

The predicate to search for.

Returns

IList<TelerikBlazorListItem>

The list of the data items matching the given predicate.

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()

SelectDefaultItem(bool)

Select default item element.

Declaration

cs-api-definition
public void SelectDefaultItem(bool simulateRealClick)

Parameters

simulateRealClick

bool

Simulate real mouse click.

SelectItemByIndex(int, bool)

Selects an item by specified index.

Declaration

cs-api-definition
public void SelectItemByIndex(int index, bool simulateRealClick)

Parameters

index

int

The item index.

simulateRealClick

bool

Simulate real mouse click.

SelectItemByText(string, bool)

Selects an item by the specified text.

Declaration

cs-api-definition
public void SelectItemByText(string text, bool simulateRealClick)

Parameters

text

string

The item text.

simulateRealClick

bool

Simulate real mouse click.