Skip to main content

BaseGallery.GetVisibleItems() Method

Returns a list containing visible gallery items.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v23.1.dll

NuGet Package: DevExpress.Win.Navigation


public List<GalleryItem> GetVisibleItems()


Type Description

A list that contains visible gallery items.


The GetVisibleItems method returns only visible gallery items.

An item is hidden, if its GalleryItem.Visible property is set to false. The item is also hidden if the item’s group is hidden (the GalleryItemGroup.Visible property is set to false). The list returned by the GetVisibleItems method doesn’t include these items.

See Also