ClassRadToolBar
Represents the RadToolBar class.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadToolBar : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadToolBar
Inherited Members
Constructors
RadToolBar()
Initializes a new instance of the RadToolBar class.
Declaration
public RadToolBar()
RadToolBar(Element)
Initializes a new instance of the RadToolBar class.
Properties
AllItems
Get all the toolbar items.
Declaration
public IList<RadToolBarItem> AllItems { get; }
Property Value
ClientSideLocator
Client side locator.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
LocatorExpression
Get the locator FindParam.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
Orientation
Get or set ToolBar orientation client-side: '0' if the toolbar is horizontal, '1' if it is vertical.
OrientationType
Get or set the ToolBar Orientation type.
Declaration
public ToolBarOrientationType OrientationType { get; set; }
Property Value
RenderMode
Render mode of toolbar.
RootItems
Get the root items of the toolbar.
Declaration
public IList<RadToolBarItem> RootItems { get; }
Property Value
Methods
AssignElement(Element)
Assign the DOM element to be the ToolBar control.
Declaration
public override void AssignElement(Element e)
Parameters
e
Overrides
ControlAssert()
Get RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
FindItem(Predicate<RadToolBarItem>)
Find item by given predicate.
Declaration
public RadToolBarItem FindItem(Predicate<RadToolBarItem> 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 item by text.
Declaration
public RadToolBarItem FindItemByText(string itemText)
Parameters
itemText
Returns
FindItemByValue(string)
Finds item by value.
Declaration
public RadToolBarItem FindItemByValue(string itemValue)
Parameters
itemValue
Returns
FindItems(Predicate<RadToolBarItem>)
Find items by given predicate.
Declaration
public IList<RadToolBarItem> FindItems(Predicate<RadToolBarItem> predicate)
Parameters
predicate
The predicate used as a search criteria.
Returns
The list of items matching the search.
FindItemsByLevel(int)
Find items by given level.
Declaration
public IList<RadToolBarItem> FindItemsByLevel(int level)
Parameters
level
The level to search for.
Returns
The list of items matching the search.