GalleryItemCollection.Add(GalleryItem) Method

Adds the specified item to the collection.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public int Add(
    GalleryItem item
)
Public Function Add(
    item As GalleryItem
) As Integer

Parameters

Name Type Description
item GalleryItem

A GalleryItem to be added to the collection.

Returns

Type Description
Int32

A zero-based integer which specifies the position of the element within the collection.

Remarks

This method adds the specified object to the collection. To access items in the collection use the GalleryItemCollection.Item indexer.

See Also