BaseGallery.GetVisibleItems() Method

Returns a list containing visible gallery items.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v20.1.dll


public List<GalleryItem> GetVisibleItems()
Public Function GetVisibleItems As List(Of GalleryItem)


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