Skip to main content

TdxRibbonBackstageViewGalleryGroups.FindByCaption(string,TdxRibbonBackstageViewGalleryGroup) Method

Searches the collection for a gallery group with a specified caption.

Declaration

function FindByCaption(const ACaption: string; out AGroup: TdxRibbonBackstageViewGalleryGroup): Boolean;

Parameters

Name Type
ACaption string
AGroup TdxRibbonBackstageViewGalleryGroup

Returns

Type
Boolean

Remarks

This function returns the first collection item (a gallery group), whose Caption property value equals the ACaption parameter value. If the matching group is found, it is referenced via the AGroup parameter and the function returns True. Otherwise, False is returned.

See Also