Skip to main content

TdxCustomRibbonGalleryItem.CopyGroupItem(TdxRibbonGalleryGroupItem,TdxRibbonGalleryGroup,Integer) Method

Copies the gallery item to the gallery group at the specified position.

Declaration

function CopyGroupItem(AGroupItem: TdxRibbonGalleryGroupItem; ATargetGroup: TdxRibbonGalleryGroup; AIndex: Integer): TdxRibbonGalleryGroupItem;

Parameters

Name Type
AGroupItem TdxRibbonGalleryGroupItem
ATargetGroup TdxRibbonGalleryGroup
AIndex Integer

Returns

Type
TdxRibbonGalleryGroupItem

Remarks

AGroupItem specifies the gallery item to be copied to the target gallery group.

ATargetGroup specifies the gallery group to which the gallery item will be copied.

Index specifies the gallery item’s position in the target gallery group’s item collection.

See Also