ClassRadToolBarItem
Represents the RadToolBarItem class.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadToolBarItem : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadToolBarItem
Derived Classes:
Inherited Members
Constructors
RadToolBarItem()
Initializes a new instance of the RadToolBarItem class.
Declaration
public RadToolBarItem()
RadToolBarItem(Element)
Initializes a new instance of the RadToolBarItem class.
Properties
ButtonType
Returns the type of the toolbar item(button, split button, drop down button).
Declaration
public ToolBarButtonType ButtonType { get; }
Property Value
ClientSideLocator
Get the Client side locator - call method.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
Enabled
Get whether the toolbar item is enabled.
Focused
Get whether the toolbar item is focused.
Hovered
Get whether the toolbar item is hovered.
Index
Get the index of the toolbar item.
ItemValue
Get or set the value set of this item.
Items
The items of the current toolbar item if any. Returns empty list for the toolbar buttons.
Declaration
public IList<RadToolBarItem> Items { get; }
Property Value
Level
Get the level of this item.
LocatorExpression
Get the FindParam that defines the pattern for a toolbar item.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
Text
Get the text of this item.
ToolTip
Get or set the tooltip of the toolbar item.
Methods
AssignElement(Element)
Assign the DOM element to be the ToolBarItem control.
Declaration
public override void AssignElement(Element e)
Parameters
e
Overrides
Close()
Close the toolbar item(if the item is drop down or split button).
Declaration
public void Close()
ControlAssert()
Get RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
Open()
Open the toolbar item(if the item is drop down or split button).
Declaration
public void Open()