ClassBasePanelBarItem
Represents the BasePanelBarItem class.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class BasePanelBarItem : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlBasePanelBarItem
Derived Classes:
Inherited Members
Constructors
BasePanelBarItem()
Initializes a new instance of the BasePanelBarItem class.
Declaration
public BasePanelBarItem()
BasePanelBarItem(Element)
Initializes a new instance of the BasePanelBarItem class.
Properties
ClientSideLocator
Get the Client side locator - call method.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
Enabled
Get whether this item is enabled.
Expandable
Get whether this item is expandable.
Expanded
Get whether this item is expanded.
Focused
Get whether this item is focused.
HasChildren
Check whether the item has children.
HasTemplate
Returns whether the item has a template
Index
Get the index of the item.
ItemValue
Get or set the value for this item.
Items
Get the list of child items of the panelbar item.
Declaration
public IList<BasePanelBarItem> Items { get; }
Property Value
Level
Get the level of the item.
LocatorExpression
Get the FindParam that defines the pattern for a panelbar item.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
NavigateUrl
Get or set the navigate url of this item.
Scrollable
Get whether the item is scrollable.
Selected
Get whether this item is selected.
ShouldNavigate
Check whether the item should navigate.
Text
Get or set the text of this item.
Methods
AssignElement(Element)
Assign the DOM element to be the BasePanelBarItem control.
Declaration
public override void AssignElement(Element e)
Parameters
e
Overrides
Click()
Click the item or Navigate if the NavigateUrl is set.
Declaration
public override void Click()
Overrides
Click(bool)
Click the item or Navigate if the NavigateUrl is set.
Declaration
public override void Click(bool isClosing)
Parameters
isClosing
Overrides
Collapse()
Collapse a item if it is not already expanded. The click of the root item also selects it.
Declaration
public void Collapse()
ControlAssert()
Get RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
Expand()
Expands the item. The click of the root item also selects it.
Declaration
public void Expand()
FindItem(Predicate<BasePanelBarItem>)
Find item by given predicate.
Declaration
public BasePanelBarItem FindItem(Predicate<BasePanelBarItem> predicate)
Parameters
predicate
The predicate used as a search criteria.
Returns
The item found or 'null' if no item matches the given search criteria.
FindItemByText(string)
Finds sub item by given text.
Declaration
public BasePanelBarItem FindItemByText(string text)
Parameters
text
Returns
FindItemByValue(string)
Finds sub item by given value.
Declaration
public BasePanelBarItem FindItemByValue(string itemValue)
Parameters
itemValue
Returns
FocusFirstChild()
Moves focus to the first child of the item.
Declaration
public void FocusFirstChild()
FocusLastChild()
Moves focus to the last child of the item.
Declaration
public void FocusLastChild()
FocusNextItem()
Moves focus to the next item.
Declaration
public void FocusNextItem()
FocusPreviousItem()
Moves focus to the previous item.
Declaration
public void FocusPreviousItem()
InitializeBasePanelBarItemLocator()
Declaration
protected void InitializeBasePanelBarItemLocator()