Skip to main content

GalleryItemGroup(GalleryItemGroup) Constructor

Initializes a new instance of the GalleryItemGroup class with settings of the specified GalleryItemGroup object.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public GalleryItemGroup(
    GalleryItemGroup sourceGroup
)

Parameters

Name Type Description
sourceGroup GalleryItemGroup

A GalleryItemGroup object which will be a prototype for the object being created.

Remarks

This constructor creates a new GalleryItemGroup object and initializes the object’s properties with settings of the specified source object. The following settings are copied from the source object: the contents of the GalleryItemGroup.Items collection and the GalleryItemGroup.Caption, GalleryItemGroup.Tag and GalleryItemGroup.Visible properties.

See Also