ClassTelerikBlazorList
Definition
Namespace:Telerik.TestingFramework.Controls.TelerikUI.Blazor.List
Assembly:Telerik.TestingFramework.Controls.TelerikUI.Blazor.dll
Syntax:
public class TelerikBlazorList : TelerikBlazorContainerControlBase
Inheritance: objectControlHtmlControlHtmlContainerControlTelerikBlazorContainerControlBaseTelerikBlazorList
Inherited Members
Constructors
TelerikBlazorList()
Initializes a new instance of the TelerikBlazorList class.
Declaration
public TelerikBlazorList()
TelerikBlazorList(Element)
Initializes a new instance of the TelerikBlazorList class.
Properties
ItemsCount
Gets the number of listed items
SelectedItemsCount
Gets the count of selected items.
SelectedItemsList
Gets the list of selected items.
Declaration
public IList<TelerikBlazorListItem> SelectedItemsList { get; }
Property Value
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The base element.
Overrides
FindItems(Func<TelerikBlazorListItem, bool>)
Gets the list of the data items matching the given predicate.
Declaration
public IList<TelerikBlazorListItem> FindItems(Func<TelerikBlazorListItem, bool> predicate)
Parameters
predicate
Func<TelerikBlazorListItem, bool>
The predicate to search for.
Returns
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
protected override void InitializeMatchExpression()
Overrides
SelectDefaultItem(bool)
Select default item element.
Declaration
public void SelectDefaultItem(bool simulateRealClick)
Parameters
simulateRealClick
Simulate real mouse click.
SelectItemByIndex(int, bool)
Selects an item by specified index.
SelectItemByText(string, bool)
Selects an item by the specified text.