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

Declaration

[Browsable(false)]
public GalleryItem OriginItem { get; }
<Browsable(False)>
Public ReadOnly Property OriginItem As GalleryItem

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