TdxCustomRibbonGalleryItem.IsGroupVisible(Integer,Boolean) Method
Determines whether a group is visible within a gallery.
Declaration
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