RibbonBarMenu
This partial class RibbonBarMenu that inherits RibbonBarMenuBaseItem.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RibbonBarMenu : RibbonBarMenuBaseItem, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IRibbonBarSubComponent, IXmlSerializable
Inheritance: objectControlWebControlRibbonBarItemRibbonBarClickableItemRibbonBarMenuBaseItemRibbonBarMenu...
Implements:
Inherited Members
Constructors
public RibbonBarMenu()
Properties
Gets a RibbonBarMenuItemCollection object that contains the items of the Menu.
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarMenuItemCollection Items { get; }
A RibbonBarMenuItemCollection that contains the items of the Menu. By default the collection is empty (the Menu has no items).
Use the Items property to access the items of the Menu. You can also use the Items property to manage the items. You can add, remove or modify items from the Items collection.
Gets the type of the RibbonBarItem. Usefull when iterating through the Items collection of RibbonBarGroup
public override RibbonBarItemType ItemType { get; }
Overrides:
Gets or sets the parent web control.
public override WebControl ParentWebControl { get; }
The parent web control.
Overrides:
Methods
Searches the RibbonBarMenu for the first RibbonBarMenuItem which Value property is equal to the specified value.
public RibbonBarMenuItem FindMenuItemByValue(string value)
The Value to search for.
Returns:A RibbonBarMenuItem whose Value property is equal to the specifed value. If a button is not found, null (Nothing in Visual Basic) is returned.
Returns the Visible menu items.
public IList<RibbonBarMenuItem> GetVisibleItems()
All visible items in the Menu.
Reads the XML.