Skip to main content
A newer version of this page is available. .

GalleryItemGroup.CaptionControlSize Property

Gets or sets the size of the control assigned to the GalleryItemGroup.CaptionControl property.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DXCategory("Appearance")]
public Size CaptionControlSize { get; set; }

Property Value

Type Description
Size

A Size value that specifies the size of the GalleryItemGroup.CaptionControl.

Remarks

Use the CaptionControlSize property to manipulate the size of the control assigned to the GalleryItemGroup.CaptionControl property.

If the GalleryItemGroup.CaptionAlignment property is set to GalleryItemGroupCaptionAlignment.Stretch, only the Height attribute of the CaptionControlSize property is in effect. In other alignment modes, both Width and Height attributes are in effect.

See Also