Back to Devexpress

GalleryItem.OriginItem Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-galleryitem-6146dc5d.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

GalleryItem Class

GalleryItem Members

DevExpress.XtraBars.Ribbon Namespace