Skip to main content

BaseGallery.GetVisibleItems() Method

Returns a list containing visible gallery items.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public List<GalleryItem> GetVisibleItems()

Returns

Type Description
List<GalleryItem>

A list that contains visible gallery items.

Remarks

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