Skip to main content

TdxCustomRibbonGalleryItem.MoveGroupItem(TdxRibbonGalleryGroupItem,TdxRibbonGalleryGroup,Integer) Method

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

Declaration

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

Parameters

Name Type
AGroupItem TdxRibbonGalleryGroupItem
ATargetGroup TdxRibbonGalleryGroup
AIndex Integer

Returns

Type
TdxRibbonGalleryGroupItem

Remarks

The MoveGroupItem method returns a reference to the gallery item that was moved to the new position.

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

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

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

See Also