Skip to main content

TdxGalleryControlGroups.FindByCaption(string,TdxGalleryControlGroup) Method

Searches the collection for a group with a specified caption.

Declaration

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

Parameters

Name Type
ACaption string
AGroup TdxGalleryControlGroup

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