GalleryItemEventArgs(RibbonGalleryBarItemLink, BaseGallery, GalleryItem) Constructor

Initializes a new instance of the GalleryItemEventArgs class with the specified settings.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public GalleryItemEventArgs(
    RibbonGalleryBarItemLink inRibbonGalleryLink,
    BaseGallery gallery,
    GalleryItem item
)
Public Sub New(
    inRibbonGalleryLink As RibbonGalleryBarItemLink,
    gallery As BaseGallery,
    item As GalleryItem
)

Parameters

Name Type Description
inRibbonGalleryLink RibbonGalleryBarItemLink

A RibbonGalleryBarItemLink object that represents a link to a RibbonGalleryBarItem object. This value is assigned to the GalleryItemEventArgs.InRibbonGalleryLink property.

gallery BaseGallery

A BaseGallery descendant which represents the Ribbon Gallery whose item is currently being processed. This value is assigned to the GalleryItemEventArgs.Gallery property.

item GalleryItem

A GalleryItem object which represents the processed Gallery item. This value is assigned to the GalleryItemEventArgs.Item property.

See Also