This Class defines the RibbonBarMenuItem collection that inherits List collection and IRibbonBarSubComponent.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class RibbonBarMenuItemCollection : List<RibbonBarMenuItem>, IList<RibbonBarMenuItem>, ICollection<RibbonBarMenuItem>, IList, ICollection, IReadOnlyList<RibbonBarMenuItem>, IReadOnlyCollection<RibbonBarMenuItem>, IEnumerable<RibbonBarMenuItem>, IEnumerable, IRibbonBarSubComponent
Inheritance: objectList<RibbonBarMenuItem>RibbonBarMenuItemCollection
Implements:
Inherited Members
Constructors
C#
public RibbonBarMenuItemCollection()
Properties
Gets or sets the container.
C#
public IRibbonBarSubComponent Container { get; }
The container.
Gets or sets the parent web control.
C#
public WebControl ParentWebControl { get; }
The parent web control.
Implements:
Gets a reference to the RibbonBar instance.
C#
public RadRibbonBar RibbonBar { get; }
RadRibbonBar instance. If not set, the returned is null.
Implements:
Use the property to get the RibbonBar instance.
Methods
Adds the specified item.
Inserts the specified index.
C#
public void Insert(int index, RibbonBarMenuItem item)
The index.
itemRibbonBarMenuItemThe item.
Removes the specified item.