GalleryItem.OriginItem Property

Gets the item that was used as a source when the current item was created.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v21.2.dll


public GalleryItem OriginItem { get; }

Property Value

Type Description

A GalleryItem object that was used as a source for the current object.


In specific cases, copies of GalleryItem objects are created. For instance, when an InDropDownGallery is created from an InRibbonGallery, all gallery items are copied from the source to the target gallery. The OriginItem property allows you to access a gallery item’s source object.

See Also