Skip to main content

GalleryItemCollection.Add(GalleryItem) Method

Adds the specified item to the collection.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public int Add(
    GalleryItem item
)

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