Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public GalleryItem OriginItem { get; }

Property Value

Type Description
GalleryItem

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

Remarks

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