[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonItemCollection

RibbonItemCollection Class

Represents a collection of RibbonItem objects.

Inheritance
RibbonItemCollection
Namespace: GrapeCity.Spreadsheet.WinForms.Ribbon
Assembly: GrapeCity.Spreadsheet.WinForms.Ribbon.dll
Syntax
public class RibbonItemCollection
Public Class RibbonItemCollection

Properties

Name Description
Count

Gets the number of elements contained in the RibbonItemCollection.

this[int]

Gets or sets the RibbonItem at the specified position of the collection.

this[string]

Gets the first RibbonItem with the specified name.

Methods

Name Description
Add(RibbonItem)

Adds the specified RibbonItem to the collection.

Add(string)

Adds a RibbonButton item to the collection.

ClearAndDisposeItems()

Removes all items from the collection, then disposes the items.

IndexOf(string)

Determines the index of the first occurrence of a RibbonItem with the specified name in this collection.

Insert(int, RibbonItem)

Inserts an item to the list at the specified index.

Remove(RibbonItem)

Removes the first occurrence of the specified RibbonItem from the collection.