Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomRibbonGalleryItem.IsGroupVisible(Integer,Boolean) Method

Determines whether a group is visible within a gallery.

#Declaration

Delphi
function IsGroupVisible(AGroupIndex: Integer; AIgnoreVisibleProperty: Boolean = False): Boolean;

#Parameters

Name Type
AGroupIndex Integer
AIgnoreVisibleProperty Boolean

#Returns

Type
Boolean

#Remarks

This function returns True if the header or gallery items of the gallery group specified by the AGroupIndex parameter are visible. The AGroupIndex parameter specifies the gallery group’s index in the GalleryCategories collection.

For gallery groups in dropdown galleries, this function returns True if the group is not filtered out and its Visible property is set to True. Pass True as the AIgnoreVisibleProperty parameter to ignore a group’s Visible property value.

Note that the IsGroupVisible function returns True for groups that are currently not visible in a gallery, but can be brought into view by scrolling.

See Also