TdxRibbonGalleryFilterCategoryGroups.Add(TdxRibbonGalleryGroup) Method
Adds the specified gallery group to the end of the collection.
Declaration
function Add(AGroup: TdxRibbonGalleryGroup): Integer;
Parameters
Name | Type |
---|---|
AGroup | TdxRibbonGalleryGroup |
Returns
Type |
---|
Integer |
Remarks
The AGroup parameter represents the group to be added.
A gallery group cannot be added if the collection already contains it. In this instance, the function returns -1. Otherwise, this function returns the group’s position within the collection.
See Also